Skip to content

Commit

Permalink
separate cron and workflow_dispatch triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCalzone committed Apr 26, 2023
1 parent 607d47e commit d7a54a3
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/check_releases_cron.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Check upstream for new release (cron)
on:
schedule:
# check each night at 1 AM
- cron: '00 01 * * *'

jobs:
check-releases:
runs-on: ubuntu-latest

steps:
- name: Trigger check and wait
uses: aurelien-baudet/workflow-dispatch@v2
with:
workflow: Check upstream for new release
token: ${{ secrets.REPO_ACCESS_TOKEN }}
wait-for-completion: true
wait-for-completion-interval: 30s
display-workflow-run-url: false

0 comments on commit d7a54a3

Please sign in to comment.