File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 1717 workflow_dispatch :
1818 schedule :
1919 - cron : ' 0 0 */1 * *'
20-
2120jobs :
2221 update-checksums :
2322 permissions :
@@ -31,13 +30,23 @@ jobs:
3130 # Generate updates to the checksum file if there are new released versions of terraform
3231 - id : ' generate-updates'
3332 run : ' ./.github/generate_version_checksums.sh $GITHUB_WORKSPACE/terraform-checksums.json;'
33+ - id : ' mint-token'
34+ uses : ' abcxyz/github-token-minter/.github/actions/mint-token@5e591a16aaa83eb0d1152b557db9fa683f2c8281'
35+ with :
36+ wif_provider : ${{ vars.GHTM_WIF_PROVIDER }}
37+ wif_service_account : ${{ vars.GHTM_WIF_SERVICE_ACCOUNT }}
38+ service_audience : ${{ vars.GHTM_SERVICE_AUDIENCE }}
39+ service_url : ${{ vars.GHTM_SERVICE_URL }}
3440 # Create a pull request for review
3541 - id : ' create-pull-request'
3642 if : ${{ env.CHANGES }}
3743 uses : peter-evans/create-pull-request@b4d51739f96fca8047ad065eccef63442d8e99f7 # ratchet:peter-evans/create-pull-request@v4
3844 with :
45+ token : ${{ steps.mint-token.outputs.token }}
3946 add-paths : ' terraform-checksums.json'
4047 commit-message : ' chore: [automated] checksum updates'
48+ committer :
' abcxyz bot <[email protected] >' 49+ author :
' abcxyz bot <[email protected] >' 4150 delete-branch : true
4251 branch : ' ${{ env.PR_BRANCH }}'
4352 title : ' chore: Terraform checksum updates for ${{ env.UPDATE_DATE }}'
You can’t perform that action at this time.
0 commit comments