This commit is contained in:
xss 2022-01-29 14:52:34 +11:00
parent f7736d4008
commit 6eddddcc73
6 changed files with 35 additions and 30 deletions

View File

@ -15,7 +15,7 @@ jobs:
# These permissions are needed to interact with GitHub's OIDC Token endpoint. # These permissions are needed to interact with GitHub's OIDC Token endpoint.
permissions: permissions:
id-token: write id-token: write
contents: read contents: write
steps: steps:
- name: Configure AWS Credentials - name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1 uses: aws-actions/configure-aws-credentials@v1
@ -30,7 +30,11 @@ jobs:
id: fmt id: fmt
run: terraform fmt run: terraform fmt
continue-on-error: true continue-on-error: true
- uses: EndBug/add-and-commit@v7
with:
message: Terraform fmt [skip ci]
committer_name: GitHub Actions
committer_email: actions@github.com
- name: Terraform Init - name: Terraform Init
id: init id: init
run: terraform init run: terraform init

View File

@ -13,7 +13,8 @@ jobs:
# These permissions are needed to interact with GitHub's OIDC Token endpoint. # These permissions are needed to interact with GitHub's OIDC Token endpoint.
permissions: permissions:
id-token: write id-token: write
contents: read contents: write
pull-requests: write
steps: steps:
- name: Configure AWS Credentials - name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1 uses: aws-actions/configure-aws-credentials@v1