You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -29,17 +30,15 @@ If ChainAlert finds a suspicious activity of a package, it will automatically op
29
30
30
31
### How Do I Opt In?
31
32
32
-
You need to add our [GitHub action](https://github.com/marketplace/actions/chainalert) to your project. If you already have an existing workflow, add the following step:
33
+
You need to add our [GitHub action](https://github.com/marketplace/actions/chainalert) to your project as a cron job.
33
34
34
-
```yml
35
-
- uses: checkmarx/chainalert-github-action@v1
36
-
```
37
-
38
-
Alternatively, create a dedicated workflow file under `.github/workflows/chainalert.yml`
35
+
Create a dedicated workflow file under `.github/workflows/chainalert.yml`
39
36
40
37
```yml
41
38
name: ChainAlert
42
39
on:
40
+
schedule:
41
+
- cron: '0 0 * * *'
43
42
push:
44
43
branches: [ master ]
45
44
jobs:
@@ -50,6 +49,7 @@ jobs:
50
49
- uses: checkmarx/chainalert-github-action@v1
51
50
```
52
51
- 💡 This action and service are only available for public GitHub projects
52
+
- 💡 If our service stops receiving for more than 2 days, we will automatically opt you out
0 commit comments