Skip to content

Commit

Permalink
chore: update tfaction to pr/1988 (#3553)
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke authored Nov 5, 2024
1 parent e77ab3f commit d022340
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 27 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/apply.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
aqua_version: v2.37.2

- uses: suzuki-shunsuke/tfaction/list-targets@pr/1987
- uses: suzuki-shunsuke/tfaction/list-targets@pr/1988
id: list-targets

apply:
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
env:
AQUA_GITHUB_TOKEN: ${{ steps.aqua_installer_token.outputs.token }}

# - uses: suzuki-shunsuke/tfaction/export-secrets@pr/1987
# - uses: suzuki-shunsuke/tfaction/export-secrets@pr/1988
# with:
# # If this action doesn't export secrets as you expect, please check if secrets are passed to this action properly.
# # If you use reusable workflows, maybe secrets aren't passed to the reusable workflow.
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
"tfaction-example"
]
- uses: suzuki-shunsuke/tfaction/setup@pr/1987
- uses: suzuki-shunsuke/tfaction/setup@pr/1988
with:
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
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
"tfaction-example"
]
- uses: suzuki-shunsuke/tfaction/apply@pr/1987
- uses: suzuki-shunsuke/tfaction/apply@pr/1988
with:
github_token: ${{ steps.apply_token.outputs.token }}
env:
Expand All @@ -211,12 +211,12 @@ jobs:
"${{github.event.repository.name}}"
]
- uses: suzuki-shunsuke/tfaction/create-follow-up-pr@pr/1987
- uses: suzuki-shunsuke/tfaction/create-follow-up-pr@pr/1988
if: failure()
with:
github_token: ${{steps.follow_up_pr_token.outputs.token}}

- uses: suzuki-shunsuke/tfaction/update-drift-issue@pr/1987
- uses: suzuki-shunsuke/tfaction/update-drift-issue@pr/1988
if: always()
with:
status: ${{job.status}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/generate-config-out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ jobs:
repositories: >-
["${{github.event.repository.name}}"]
- uses: suzuki-shunsuke/tfaction/setup@pr/1987
- uses: suzuki-shunsuke/tfaction/setup@pr/1988
id: setup
with:
github_token: ${{steps.generate_token.outputs.token}}

- uses: suzuki-shunsuke/tfaction/generate-config-out@pr/1987
- uses: suzuki-shunsuke/tfaction/generate-config-out@pr/1988
env:
GITHUB_TOKEN: ${{steps.generate_token.outputs.token}}
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
with:
aqua_version: v2.37.2

- uses: suzuki-shunsuke/tfaction/release-module@pr/1987
- uses: suzuki-shunsuke/tfaction/release-module@pr/1988
with:
version: ${{ github.event.inputs.version }}
module_path: ${{ github.event.inputs.module_path }}
4 changes: 2 additions & 2 deletions .github/workflows/scaffold-module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ jobs:
repositories: >-
["${{github.event.repository.name}}"]
- uses: suzuki-shunsuke/tfaction/scaffold-module@pr/1987
- uses: suzuki-shunsuke/tfaction/scaffold-module@pr/1988
with:
github_token: ${{steps.generate_token.outputs.token}}

- uses: suzuki-shunsuke/tfaction/create-scaffold-module-pr@pr/1987
- uses: suzuki-shunsuke/tfaction/create-scaffold-module-pr@pr/1988
with:
github_token: ${{steps.generate_token.outputs.token}}
2 changes: 1 addition & 1 deletion .github/workflows/scaffold-tfmigrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
env:
GITHUB_TOKEN: ${{github.token}}

- uses: suzuki-shunsuke/tfaction/scaffold-tfmigrate@pr/1987
- uses: suzuki-shunsuke/tfaction/scaffold-tfmigrate@pr/1988
with:
github_token: ${{steps.generate_token.outputs.token}}
migration_name: ${{github.event.inputs.migration_name}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scaffold-working-directory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
aqua_version: v2.37.2

- uses: suzuki-shunsuke/tfaction/scaffold-working-dir@pr/1987
- uses: suzuki-shunsuke/tfaction/scaffold-working-dir@pr/1988

- name: Generate token
id: generate_token
Expand All @@ -39,6 +39,6 @@ jobs:
repositories: >-
["${{github.event.repository.name}}"]
- uses: suzuki-shunsuke/tfaction/create-scaffold-pr@pr/1987
- uses: suzuki-shunsuke/tfaction/create-scaffold-pr@pr/1988
with:
github_token: ${{ steps.generate_token.outputs.token }}
10 changes: 5 additions & 5 deletions .github/workflows/schedule-detect-drifts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,32 +68,32 @@ jobs:
env:
GITHUB_TOKEN: ${{github.token}}

- uses: suzuki-shunsuke/tfaction/set-drift-env@pr/1987
- uses: suzuki-shunsuke/tfaction/set-drift-env@pr/1988
with:
issue: ${{toJSON(matrix.issue)}}

- uses: suzuki-shunsuke/tfaction/setup@pr/1987
- uses: suzuki-shunsuke/tfaction/setup@pr/1988
with:
github_token: ${{steps.generate_token.outputs.token}}
env:
GITHUB_TOKEN: ${{steps.generate_token.outputs.token}}
TF_TOKEN_app_terraform_io: ${{secrets.TFE_TOKEN}} # For Hashicorp Cloud Backend

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

- uses: suzuki-shunsuke/tfaction/terraform-plan@pr/1987
- uses: suzuki-shunsuke/tfaction/terraform-plan@pr/1988
with:
github_token: ${{steps.generate_token.outputs.token}}
env:
GITHUB_TOKEN: ${{steps.generate_token.outputs.token}}
TF_TOKEN_app_terraform_io: ${{secrets.TFE_TOKEN}} # For Hashicorp Cloud Backend
TFE_TOKEN: ${{secrets.TFE_TOKEN}} # For tfe provider

- uses: suzuki-shunsuke/tfaction/update-drift-issue@pr/1987
- uses: suzuki-shunsuke/tfaction/update-drift-issue@pr/1988
if: always()
with:
status: ${{job.status}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync-drift-issue-description.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
permissions:
issues: write
steps:
- uses: suzuki-shunsuke/tfaction/sync-drift-issue-description@pr/1987
- uses: suzuki-shunsuke/tfaction/sync-drift-issue-description@pr/1988
10 changes: 5 additions & 5 deletions .github/workflows/wc-plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
env:
AQUA_GITHUB_TOKEN: ${{steps.aqua_installer_token.outputs.token}}

# - uses: suzuki-shunsuke/tfaction/export-secrets@pr/1987
# - uses: suzuki-shunsuke/tfaction/export-secrets@pr/1988
# with:
# # If this action doesn't export secrets as you expect, please check if secrets are passed to this action properly.
# # If you use reusable workflows, maybe secrets aren't passed to the reusable workflow.
Expand Down Expand Up @@ -129,14 +129,14 @@ jobs:
DATETIME: ${{fromJSON(steps.check-lock.outputs.result).datetime}}
GITHUB_TOKEN: ${{steps.generate_token.outputs.token}}
- uses: suzuki-shunsuke/tfaction/setup@pr/1987
- uses: suzuki-shunsuke/tfaction/setup@pr/1988
with:
github_token: ${{steps.generate_token.outputs.token}}
env:
GITHUB_TOKEN: ${{steps.generate_token.outputs.token}} # For GitHub Provider
TF_TOKEN_app_terraform_io: ${{secrets.TFE_TOKEN}} # For Hashicorp Cloud Backend

- uses: suzuki-shunsuke/tfaction/get-target-config@pr/1987
- uses: suzuki-shunsuke/tfaction/get-target-config@pr/1988
id: target-config

- name: Generate token (pull request write)
Expand Down Expand Up @@ -168,13 +168,13 @@ jobs:
- name: registry.terraform.io/hashicorp/tfe
GITHUB_TOKEN: ${{steps.pull_request_token.outputs.token}} # For github-comment
- uses: suzuki-shunsuke/tfaction/test@pr/1987
- uses: suzuki-shunsuke/tfaction/test@pr/1988
with:
github_token: ${{steps.generate_token.outputs.token}}
env:
GITHUB_TOKEN: ${{steps.generate_token.outputs.token}} # For GitHub Provider and reviewdog and github-comment

- uses: suzuki-shunsuke/tfaction/plan@pr/1987
- uses: suzuki-shunsuke/tfaction/plan@pr/1988
with:
github_token: ${{steps.generate_token.outputs.token}}
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wc-setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
env:
AQUA_GITHUB_TOKEN: ${{steps.generate_token.outputs.token}}

- uses: suzuki-shunsuke/tfaction/list-targets@pr/1987
- uses: suzuki-shunsuke/tfaction/list-targets@pr/1988
id: list-targets
with:
github_token: ${{steps.generate_token.outputs.token}}
2 changes: 1 addition & 1 deletion .github/workflows/wc-test-module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
env:
AQUA_GITHUB_TOKEN: ${{github.token}}

- uses: suzuki-shunsuke/tfaction/test-module@pr/1987
- uses: suzuki-shunsuke/tfaction/test-module@pr/1988
with:
github_token: ${{steps.generate_token.outputs.token}}
env:
Expand Down

0 comments on commit d022340

Please sign in to comment.