From ce79e208ef44bc1197974a2b9fe948326bdfbdc8 Mon Sep 17 00:00:00 2001 From: "Erik Osterman (CEO @ Cloud Posse)" Date: Fri, 6 Sep 2024 11:14:09 -0500 Subject: [PATCH] chore: Migrate new test account (#190) --- .github/settings.yml | 1 + .github/workflows/chatops.yml | 7 ++++--- .github/workflows/release.yml | 5 ++++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/settings.yml b/.github/settings.yml index a3478cc..da6f628 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -7,3 +7,4 @@ repository: topics: terraform, terraform-module, ecs, fargate, container-definition, task, docker, aws, hcl2 + diff --git a/.github/workflows/chatops.yml b/.github/workflows/chatops.yml index c3d47fa..793a7a6 100644 --- a/.github/workflows/chatops.yml +++ b/.github/workflows/chatops.yml @@ -8,9 +8,10 @@ permissions: pull-requests: write id-token: write contents: write + statuses: write jobs: - terraform-module: + test: uses: cloudposse/.github/.github/workflows/shared-terraform-chatops.yml@main - secrets: - github_access_token: ${{ secrets.REPO_ACCESS_TOKEN }} + if: ${{ github.event.issue.pull_request && contains(github.event.comment.body, '/terratest') }} + secrets: inherit diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f968068..dc8a750 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,7 +5,10 @@ on: types: - published -permissions: {} +permissions: + id-token: write + contents: write + pull-requests: write jobs: terraform-module: