From 4f2003d8727e7b0b58d9f1212fa86a0dd976f5bc Mon Sep 17 00:00:00 2001 From: "Erik Osterman (CEO @ Cloud Posse)" Date: Wed, 10 Apr 2024 18:24:33 -0500 Subject: [PATCH] chore: Use GitHub Action Workflows from `cloudposse/.github` Repo (#138) --- .github/workflows/release-branch.yml | 10 +++------- .github/workflows/release-published.yml | 5 ++--- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release-branch.yml b/.github/workflows/release-branch.yml index b30901e..3593cea 100644 --- a/.github/workflows/release-branch.yml +++ b/.github/workflows/release-branch.yml @@ -4,20 +4,16 @@ on: push: branches: - main - - release/** + - release/v* paths-ignore: - '.github/**' - 'docs/**' - 'examples/**' - 'test/**' - - 'README.*' -permissions: - contents: write - id-token: write +permissions: {} jobs: terraform-module: uses: cloudposse/github-actions-workflows-terraform-module/.github/workflows/release-branch.yml@main - secrets: - github_access_token: ${{ secrets.REPO_ACCESS_TOKEN }} + secrets: inherit diff --git a/.github/workflows/release-published.yml b/.github/workflows/release-published.yml index b31232b..1b0aaca 100644 --- a/.github/workflows/release-published.yml +++ b/.github/workflows/release-published.yml @@ -5,10 +5,9 @@ on: types: - published -permissions: - contents: write - id-token: write +permissions: {} jobs: terraform-module: uses: cloudposse/github-actions-workflows-terraform-module/.github/workflows/release-published.yml@main + secrets: inherit