Bump peter-evans/create-pull-request from 7.0.8 to 7.0.9 (#994) #23476
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: maintenance | |
| on: | |
| push: | |
| branches: [ master ] | |
| 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 | |
| - run: git submodule update --init --depth=0 | |
| - uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0 | |
| with: | |
| go-version-file: 'go.mod' | |
| - uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2 | |
| - name: go generate ./... | |
| run: | | |
| cd tools/provider-schema | |
| terraform init -upgrade | |
| terraform providers schema -json > schema.json | |
| cd ../.. | |
| git submodule update --remote | |
| go generate ./... | |
| - uses: peter-evans/create-pull-request@84ae59a2cdc2258d6fa0732dd66352dddae2a412 # v7.0.9 | |
| with: | |
| commit-message: | | |
| Update AWS provider/module and generated content | |
| title: Update AWS provider/module and generated content | |
| delete-branch: true | |
| body: | | |
| This is an automated pull request triggered by GitHub Actions. To trigger check runs, close and re-open it. |