Cron #1919
  
    
      This file contains hidden or 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: Cron | |
| on: | |
| schedule: | |
| - cron: '0 7 * * *' # daily, 7am | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| trigger-ci: | |
| permissions: | |
| contents: read # the push uses a personal-access token so it will trigger workflows, so this permission is read-only | |
| checks: read | |
| name: Trigger cron build | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| branch: [main, beta, release] | |
| steps: | |
| - uses: kategengler/[email protected] | |
| with: | |
| branch: ${{ matrix.branch }} | |
| # This must use a personal access token because of a Github Actions | |
| # limitation where it will not trigger workflows from pushes from | |
| # other workflows with the token it provides. | |
| # The PERSONAL_ACCESS secret must be a token with `repo` scope. | |
| # See https://help.github.com/en/actions/reference/events-that-trigger-workflows#triggering-new-workflows-using-a-personal-access-token | |
| personal_token: ${{ secrets.PERSONAL_TOKEN }} | |
| committer_email: '[email protected]' | |
| committer_name: 'Ember.js Cron CI' |