diff --git a/.github/settings.yml b/.github/settings.yml index b2c1cca..e2aa7be 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -6,3 +6,4 @@ repository: homepage: https://cloudposse.com/accelerate topics: terraform, terraform-module, ami, aws, snapshot, replica, backups + 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