Skip to content

maintenance

maintenance #2973

Workflow file for this run

name: maintenance
on:
schedule:
- cron: "0 0 * * 1"
workflow_dispatch: # Enables on-demand/manual triggering
permissions:
contents: write
pull-requests: write
jobs:
job:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
submodules: true
- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version-file: 'go.mod'
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2
- run: |
cd tools/apispec-rule-gen/schema
terraform init -upgrade
terraform providers schema -json > schema.json
cd ../..
git submodule update --remote
go run ./api-version-bumper
go run ./apispec-rule-gen
- uses: peter-evans/create-pull-request@22a9089034f40e5a961c8808d113e2c98fb63676 # v7.0.11
with:
commit-message: |
autogenerated maintenance
title: autogenerated maintenance
delete-branch: true
body: |
If tests are stuck on https://github.com/peter-evans/create-pull-request/issues/48:
["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)