Skip to content

Commit

Permalink
gh-action: cron sched blocklist updates every 8 days
Browse files Browse the repository at this point in the history
  • Loading branch information
ignoramous committed Nov 6, 2022
1 parent 3b9cd96 commit 0face56
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/createUploadBlocklistFilter.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: MakeTrie
on:
# docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule
schedule:
# at 21:53 on 1st, 8th, 16th, 24th of every month
- cron: '53 21 1,8,16,24 * *'
workflow_dispatch:
repository_dispatch:
types: custom_event_type
Expand All @@ -23,8 +27,10 @@ jobs:
# stackoverflow.com/a/69400542
v=$(date --utc +"%s.%3N")
echo "epoch=${v}" >> $GITHUB_OUTPUT
echo "::notice::Version ${v}"
echo "::notice::Version ${v} / ${SCHED}"
shell: bash
env:
SCHED: ${{ github.event.schedule }}
make:
needs: version
strategy:
Expand Down

0 comments on commit 0face56

Please sign in to comment.