github.com/terraform-linters/tflint-ruleset-azurerm@v0.26.0/.github/workflows/maintenance.yaml (about) 1 on: 2 push: 3 branches: [ master ] 4 schedule: 5 - cron: "0 0 * * *" 6 workflow_dispatch: # Enables on-demand/manual triggering 7 jobs: 8 job: 9 runs-on: ubuntu-latest 10 steps: 11 - uses: actions/checkout@v4 12 with: 13 submodules: true 14 - uses: actions/setup-go@v5 15 with: 16 go-version-file: 'go.mod' 17 - run: | 18 cd tools/apispec-rule-gen/schema 19 terraform init -upgrade 20 terraform providers schema -json > schema.json 21 cd ../.. 22 git submodule update --remote 23 go run ./apispec-rule-gen 24 - uses: peter-evans/create-pull-request@v6 25 with: 26 commit-message: | 27 autogenerated maintenance 28 title: autogenerated maintenance 29 delete-branch: true 30 body: | 31 If tests are stuck on https://github.com/peter-evans/create-pull-request/issues/48: 32 ["Manually close pull requests and immediately reopen them. This will enable `on: pull_request` workflows to run and be added as checks."](https://github.com/peter-evans/create-pull-request/blob/master/docs/concepts-guidelines.md#triggering-further-workflow-runs)