We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1adf0d commit 9799769Copy full SHA for 9799769
1 file changed
.github/workflows/update-blacklist.yaml
@@ -0,0 +1,34 @@
1
+name: Daily Blacklist Update
2
+
3
+on:
4
+ schedule:
5
+ - cron: '0 1 */3 * *'
6
+ workflow_dispatch:
7
8
+jobs:
9
+ update-and-commit:
10
+ runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: write
13
14
+ steps:
15
+ - name: Checkout repository
16
+ uses: 'actions/checkout@v4'
17
18
+ - name: Setup Deno
19
+ uses: 'denoland/setup-deno@v2'
20
+ with:
21
+ deno-version: 'v2.x'
22
23
+ - run: deno ./scripts/compile-blacklist.ts
24
25
+ - name: Set commit date variable
26
+ id: 'set-commit-message'
27
+ run: echo "_COMMIT_MESSAGE=$(date '+%Y.%m.%d')" >> $GITHUB_ENV
28
29
+ - uses: 'EndBug/add-and-commit@v9'
30
31
+ author_name: 'Otternaut'
32
+ author_email: '99463792+otternaut-bot@users.noreply.github.com'
33
+ commit_message: "Updated blacklist data ${{ $ENV._COMMIT_MESSAGE }}"
34
+ branch: 'main'
0 commit comments