Scheduled workflows #581
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Scheduled workflows | |
on: | |
schedule: | |
- cron: '0 4 * * *' | |
workflow_dispatch: | |
jobs: | |
run-ci: | |
name: Run CI workflow | |
runs-on: ubuntu-latest | |
steps: | |
- run: gh workflow run -R keycloak/keycloak-quickstarts ci.yml -r main | |
if: github.event_name != 'schedule' || github.repository == 'keycloak/keycloak-quickstarts' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run-nightly-ci: | |
name: Run Nightly CI workflow | |
runs-on: ubuntu-latest | |
steps: | |
- run: gh workflow run -R keycloak/keycloak-quickstarts nightly-ci.yml -r main | |
if: github.event_name != 'schedule' || github.repository == 'keycloak/keycloak-quickstarts' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |