diff --git a/apply/action.yaml b/apply/action.yaml index cd5fd47a4..2ce283ec3 100644 --- a/apply/action.yaml +++ b/apply/action.yaml @@ -8,12 +8,12 @@ inputs: runs: using: composite steps: - - uses: suzuki-shunsuke/tfaction/terraform-apply@main + - uses: suzuki-shunsuke/tfaction/terraform-apply@v1.2.0 if: env.TFACTION_JOB_TYPE == 'terraform' with: github_token: ${{inputs.github_token}} - - uses: suzuki-shunsuke/tfaction/tfmigrate-apply@main + - uses: suzuki-shunsuke/tfaction/tfmigrate-apply@v1.2.0 if: env.TFACTION_JOB_TYPE == 'tfmigrate' with: github_token: ${{inputs.github_token}} diff --git a/create-follow-up-pr/action.yaml b/create-follow-up-pr/action.yaml index 429694b1d..3367d5be3 100644 --- a/create-follow-up-pr/action.yaml +++ b/create-follow-up-pr/action.yaml @@ -13,7 +13,7 @@ inputs: runs: using: composite steps: - - uses: suzuki-shunsuke/tfaction/get-global-config@main + - uses: suzuki-shunsuke/tfaction/get-global-config@v1.2.0 id: global-config - run: bash ${{ github.action_path }}/skip_create_pr.sh diff --git a/create-scaffold-module-pr/action.yaml b/create-scaffold-module-pr/action.yaml index b80b773d2..90f312838 100644 --- a/create-scaffold-module-pr/action.yaml +++ b/create-scaffold-module-pr/action.yaml @@ -23,7 +23,7 @@ runs: shell: bash if: env.TFACTION_MODULE_PATH == '' - - uses: suzuki-shunsuke/tfaction/get-global-config@main + - uses: suzuki-shunsuke/tfaction/get-global-config@v1.2.0 id: global-config - run: aqua i -l -a diff --git a/create-scaffold-pr/action.yaml b/create-scaffold-pr/action.yaml index e4da8ebab..6a9ecfa31 100644 --- a/create-scaffold-pr/action.yaml +++ b/create-scaffold-pr/action.yaml @@ -11,9 +11,9 @@ inputs: runs: using: composite steps: - - uses: suzuki-shunsuke/tfaction/get-global-config@main + - uses: suzuki-shunsuke/tfaction/get-global-config@v1.2.0 id: global-config - - uses: suzuki-shunsuke/tfaction/get-target-config@main + - uses: suzuki-shunsuke/tfaction/get-target-config@v1.2.0 id: target-config env: TFACTION_IS_APPLY: "false" diff --git a/list-targets/action.yaml b/list-targets/action.yaml index 02108b83e..e4d69bece 100644 --- a/list-targets/action.yaml +++ b/list-targets/action.yaml @@ -39,16 +39,16 @@ runs: env: HEAD_SHA: ${{github.event.pull_request.head.sha}} - - uses: suzuki-shunsuke/tfaction/list-working-dirs@main + - uses: suzuki-shunsuke/tfaction/list-working-dirs@v1.2.0 id: list-working-directory-configs - - uses: suzuki-shunsuke/tfaction/list-targets-with-changed-files@main + - uses: suzuki-shunsuke/tfaction/list-targets-with-changed-files@v1.2.0 id: list-targets with: changed_files: ${{ env.CI_INFO_TEMP_DIR }}/pr_all_filenames.txt labels: ${{ env.CI_INFO_TEMP_DIR }}/labels.txt pull_request: ${{ env.CI_INFO_TEMP_DIR }}/pr.json config_files: ${{ steps.list-working-directory-configs.outputs.file }} - - uses: suzuki-shunsuke/tfaction/list-changed-modules@main + - uses: suzuki-shunsuke/tfaction/list-changed-modules@v1.2.0 id: list-modules with: changed_files: ${{ env.CI_INFO_TEMP_DIR }}/pr_all_filenames.txt diff --git a/list-working-dirs/action.yaml b/list-working-dirs/action.yaml index dabc0f216..ffa9286b1 100644 --- a/list-working-dirs/action.yaml +++ b/list-working-dirs/action.yaml @@ -10,7 +10,7 @@ outputs: runs: using: composite steps: - - uses: suzuki-shunsuke/tfaction/get-global-config@main + - uses: suzuki-shunsuke/tfaction/get-global-config@v1.2.0 id: global-config - run: | tempfile=$(mktemp) diff --git a/plan/action.yaml b/plan/action.yaml index 7a14668c4..bcb68d223 100644 --- a/plan/action.yaml +++ b/plan/action.yaml @@ -8,12 +8,12 @@ inputs: runs: using: composite steps: - - uses: suzuki-shunsuke/tfaction/terraform-plan@main + - uses: suzuki-shunsuke/tfaction/terraform-plan@v1.2.0 if: env.TFACTION_JOB_TYPE == 'terraform' with: github_token: ${{inputs.github_token}} - - uses: suzuki-shunsuke/tfaction/tfmigrate-plan@main + - uses: suzuki-shunsuke/tfaction/tfmigrate-plan@v1.2.0 if: env.TFACTION_JOB_TYPE == 'tfmigrate' with: github_token: ${{inputs.github_token}} diff --git a/scaffold-module/action.yaml b/scaffold-module/action.yaml index ecec5b8bd..f21f8e42b 100644 --- a/scaffold-module/action.yaml +++ b/scaffold-module/action.yaml @@ -42,7 +42,7 @@ runs: fi shell: bash - - uses: suzuki-shunsuke/tfaction/get-global-config@main + - uses: suzuki-shunsuke/tfaction/get-global-config@v1.2.0 id: global-config - run: | diff --git a/scaffold-tfmigrate/action.yaml b/scaffold-tfmigrate/action.yaml index cb75d7350..d51dff395 100644 --- a/scaffold-tfmigrate/action.yaml +++ b/scaffold-tfmigrate/action.yaml @@ -29,9 +29,9 @@ outputs: runs: using: composite steps: - - uses: suzuki-shunsuke/tfaction/get-global-config@main + - uses: suzuki-shunsuke/tfaction/get-global-config@v1.2.0 id: global-config - - uses: suzuki-shunsuke/tfaction/get-target-config@main + - uses: suzuki-shunsuke/tfaction/get-target-config@v1.2.0 id: target-config env: TFACTION_JOB_TYPE: scaffold_working_dir diff --git a/scaffold-working-dir/action.yaml b/scaffold-working-dir/action.yaml index 3202ba79f..424d16d90 100644 --- a/scaffold-working-dir/action.yaml +++ b/scaffold-working-dir/action.yaml @@ -12,9 +12,9 @@ outputs: runs: using: composite steps: - - uses: suzuki-shunsuke/tfaction/get-global-config@main + - uses: suzuki-shunsuke/tfaction/get-global-config@v1.2.0 id: global-config - - uses: suzuki-shunsuke/tfaction/get-target-config@main + - uses: suzuki-shunsuke/tfaction/get-target-config@v1.2.0 id: target-config env: TFACTION_JOB_TYPE: scaffold_working_dir diff --git a/set-drift-env/action.yaml b/set-drift-env/action.yaml index 0fed32b94..8223f5c94 100644 --- a/set-drift-env/action.yaml +++ b/set-drift-env/action.yaml @@ -7,7 +7,7 @@ inputs: runs: using: composite steps: - - uses: suzuki-shunsuke/tfaction/get-global-config@main + - uses: suzuki-shunsuke/tfaction/get-global-config@v1.2.0 id: global-config - run: | echo "TFCMT_REPO_OWNER=$REPO_OWNER" >> "$GITHUB_ENV" diff --git a/setup/action.yaml b/setup/action.yaml index c90ea6912..84f061a3a 100644 --- a/setup/action.yaml +++ b/setup/action.yaml @@ -55,7 +55,7 @@ runs: env: GITHUB_TOKEN: ${{ inputs.github_token }} - - uses: suzuki-shunsuke/tfaction/get-global-config@main + - uses: suzuki-shunsuke/tfaction/get-global-config@v1.2.0 id: global-config - run: echo "$GLOBAL_CONFIG" @@ -63,7 +63,7 @@ runs: env: GLOBAL_CONFIG: ${{toJSON(steps.global-config.outputs)}} - - uses: suzuki-shunsuke/tfaction/get-target-config@main + - uses: suzuki-shunsuke/tfaction/get-target-config@v1.2.0 id: target-config - run: echo "$TARGET_CONFIG" @@ -93,7 +93,7 @@ runs: role-session-name: samplerolesession aws-region: ${{ steps.target-config.outputs.aws_region }} - - uses: suzuki-shunsuke/tfaction/export-aws-secrets-manager@main + - uses: suzuki-shunsuke/tfaction/export-aws-secrets-manager@v1.2.0 - uses: google-github-actions/auth@55bd3a7c6e2ae7cf1877fd1ccb9d54c0503c457c # v2.1.2 if: steps.target-config.outputs.gcp_service_account != '' @@ -104,7 +104,7 @@ runs: - uses: google-github-actions/setup-gcloud@98ddc00a17442e89a24bbf282954a3b65ce6d200 # v2.1.0 if: steps.target-config.outputs.gcp_service_account != '' - - uses: suzuki-shunsuke/tfaction/deploy-ssh-key@main + - uses: suzuki-shunsuke/tfaction/deploy-ssh-key@v1.2.0 if: inputs.ssh_key != '' with: ssh_key: ${{ inputs.ssh_key }} diff --git a/terraform-apply/action.yaml b/terraform-apply/action.yaml index 21cecbe1e..3443cd3a2 100644 --- a/terraform-apply/action.yaml +++ b/terraform-apply/action.yaml @@ -22,11 +22,11 @@ outputs: runs: using: composite steps: - - uses: suzuki-shunsuke/tfaction/get-target-config@main + - uses: suzuki-shunsuke/tfaction/get-target-config@v1.2.0 id: target-config - - uses: suzuki-shunsuke/tfaction/get-global-config@main + - uses: suzuki-shunsuke/tfaction/get-global-config@v1.2.0 id: global-config - - uses: suzuki-shunsuke/tfaction/check-terraform-skip@main + - uses: suzuki-shunsuke/tfaction/check-terraform-skip@v1.2.0 id: check-terraform-skip with: labels: ${{ env.CI_INFO_TEMP_DIR }}/labels.txt diff --git a/terraform-plan/action.yaml b/terraform-plan/action.yaml index d6ed044b9..ff5607c79 100644 --- a/terraform-plan/action.yaml +++ b/terraform-plan/action.yaml @@ -11,12 +11,12 @@ inputs: runs: using: composite steps: - - uses: suzuki-shunsuke/tfaction/get-target-config@main + - uses: suzuki-shunsuke/tfaction/get-target-config@v1.2.0 id: target-config - - uses: suzuki-shunsuke/tfaction/get-global-config@main + - uses: suzuki-shunsuke/tfaction/get-global-config@v1.2.0 id: global-config - - uses: suzuki-shunsuke/tfaction/check-terraform-skip@main + - uses: suzuki-shunsuke/tfaction/check-terraform-skip@v1.2.0 id: check-terraform-skip if: "! env.TFACTION_DRIFT_ISSUE_NUMBER" with: diff --git a/test-module/action.yaml b/test-module/action.yaml index 9634783e1..aaaf4fda0 100644 --- a/test-module/action.yaml +++ b/test-module/action.yaml @@ -11,7 +11,7 @@ inputs: runs: using: composite steps: - - uses: suzuki-shunsuke/tfaction/get-global-config@main + - uses: suzuki-shunsuke/tfaction/get-global-config@v1.2.0 id: global-config - uses: suzuki-shunsuke/trivy-config-action@6c7c845cbf76e5745c4d772719de7a34453ae81d # v0.2.2 diff --git a/test/action.yaml b/test/action.yaml index 379115fe6..75a0eacb6 100644 --- a/test/action.yaml +++ b/test/action.yaml @@ -11,7 +11,7 @@ inputs: runs: using: composite steps: - - uses: suzuki-shunsuke/tfaction/get-target-config@main + - uses: suzuki-shunsuke/tfaction/get-target-config@v1.2.0 id: target-config - name: terraform validate diff --git a/tfmigrate-apply/action.yaml b/tfmigrate-apply/action.yaml index cad47481b..1774ebf41 100644 --- a/tfmigrate-apply/action.yaml +++ b/tfmigrate-apply/action.yaml @@ -12,9 +12,9 @@ inputs: runs: using: composite steps: - - uses: suzuki-shunsuke/tfaction/get-global-config@main + - uses: suzuki-shunsuke/tfaction/get-global-config@v1.2.0 id: global-config - - uses: suzuki-shunsuke/tfaction/get-target-config@main + - uses: suzuki-shunsuke/tfaction/get-target-config@v1.2.0 id: target-config - run: bash ${{ github.action_path }}/main.sh diff --git a/tfmigrate-plan/action.yaml b/tfmigrate-plan/action.yaml index 1b9006fd7..c83cbbee0 100644 --- a/tfmigrate-plan/action.yaml +++ b/tfmigrate-plan/action.yaml @@ -11,9 +11,9 @@ inputs: runs: using: composite steps: - - uses: suzuki-shunsuke/tfaction/get-global-config@main + - uses: suzuki-shunsuke/tfaction/get-global-config@v1.2.0 id: global-config - - uses: suzuki-shunsuke/tfaction/get-target-config@main + - uses: suzuki-shunsuke/tfaction/get-target-config@v1.2.0 id: target-config - run: bash ${{ github.action_path }}/main.sh working-directory: ${{ steps.target-config.outputs.working_directory }} diff --git a/update-drift-issue/action.yaml b/update-drift-issue/action.yaml index 73652fa6f..d4ad6a447 100644 --- a/update-drift-issue/action.yaml +++ b/update-drift-issue/action.yaml @@ -14,7 +14,7 @@ inputs: runs: using: composite steps: - - uses: suzuki-shunsuke/tfaction/get-global-config@main + - uses: suzuki-shunsuke/tfaction/get-global-config@v1.2.0 id: global-config - name: Post a comment run: bash ${{ github.action_path }}/post-comment.sh