Skip to content

Commit

Permalink
fix: replace github_app_token to github_token
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Nov 26, 2023
1 parent 08663ed commit 6f28d71
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/apply.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
- uses: suzuki-shunsuke/tfaction/setup@pr/1291
with:
github_app_token: ${{ steps.setup_token.outputs.token }}
github_token: ${{ steps.setup_token.outputs.token }}
ssh_key: ${{ secrets.TERRAFORM_PRIVATE_MODULE_SSH_KEY }} # This isn't needed if you don't use SSH key to checkout private Terraform Modules

- name: Generate token for apply
Expand All @@ -154,7 +154,7 @@ jobs:
- uses: suzuki-shunsuke/tfaction/apply@pr/1291
with:
github_app_token: ${{ steps.apply_token.outputs.token }}
github_token: ${{ steps.apply_token.outputs.token }}

- name: Generate token for creating follow up pr
id: follow_up_pr_token
Expand All @@ -178,7 +178,7 @@ jobs:
- uses: suzuki-shunsuke/tfaction/create-follow-up-pr@pr/1291
if: failure()
with:
github_app_token: ${{steps.follow_up_pr_token.outputs.token}}
github_token: ${{steps.follow_up_pr_token.outputs.token}}

- uses: suzuki-shunsuke/tfaction/update-drift-issue@pr/1291
if: always()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scaffold-tfmigrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ jobs:

- uses: suzuki-shunsuke/tfaction/scaffold-tfmigrate@pr/1291
with:
github_app_token: ${{steps.generate_token.outputs.token}}
github_token: ${{steps.generate_token.outputs.token}}
migration_name: ${{github.event.inputs.migration_name}}
pr_number: ${{inputs.pr_number}}
2 changes: 1 addition & 1 deletion .github/workflows/scaffold-working-directory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ jobs:
- uses: suzuki-shunsuke/tfaction/create-scaffold-pr@pr/1291
with:
github_app_token: ${{ steps.generate_token.outputs.token }}
github_token: ${{ steps.generate_token.outputs.token }}
3 changes: 0 additions & 3 deletions .github/workflows/schedule-detect-drifts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,21 +89,18 @@ jobs:
- uses: suzuki-shunsuke/tfaction/setup@pr/1291
with:
github_token: ${{steps.generate_token.outputs.token}}
github_app_token: ${{steps.generate_token.outputs.token}}
env:
GITHUB_TOKEN: ${{steps.generate_token.outputs.token}}

- uses: suzuki-shunsuke/tfaction/test@pr/1291
with:
github_token: ${{steps.generate_token.outputs.token}}
github_app_token: ${{steps.generate_token.outputs.token}}
env:
GITHUB_TOKEN: ${{steps.generate_token.outputs.token}}

- uses: suzuki-shunsuke/tfaction/terraform-plan@pr/1291
with:
github_token: ${{steps.generate_token.outputs.token}}
github_app_token: ${{steps.generate_token.outputs.token}}
env:
GITHUB_TOKEN: ${{steps.generate_token.outputs.token}}

Expand Down

0 comments on commit 6f28d71

Please sign in to comment.