green_master.yaml 481 B

1234567891011121314151617181920212223242526
  1. ---
  2. name: Keep master green
  3. on:
  4. schedule:
  5. # run hourly
  6. - cron: "0 * * * *"
  7. workflow_dispatch:
  8. jobs:
  9. rerun-failed-jobs:
  10. runs-on: ubuntu-22.04
  11. if: github.repository_owner == 'emqx'
  12. permissions:
  13. checks: read
  14. actions: write
  15. steps:
  16. - uses: actions/checkout@v3
  17. - name: run script
  18. shell: bash
  19. env:
  20. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  21. run: |
  22. python3 scripts/rerun-failed-checks.py