From b9d9cdee184d3324d4e741fc04936c6a4d3a772d Mon Sep 17 00:00:00 2001 From: "Erik Osterman (CEO @ Cloud Posse)" Date: Fri, 3 May 2024 09:32:50 -0500 Subject: [PATCH] chore: Update GitHub workflows (#73) --- .github/workflows/feature-branch.yml | 7 +++---- .github/workflows/release-branch.yml | 1 + .github/workflows/scheduled.yml | 3 +-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/feature-branch.yml b/.github/workflows/feature-branch.yml index 0a7759b..4567939 100644 --- a/.github/workflows/feature-branch.yml +++ b/.github/workflows/feature-branch.yml @@ -4,8 +4,8 @@ on: pull_request: branches: - main - - release/v* - types: [opened, synchronize, reopened] + - release/** + types: [opened, synchronize, reopened, labeled, unlabeled] permissions: pull-requests: write @@ -15,5 +15,4 @@ permissions: jobs: terraform-module: uses: cloudposse/github-actions-workflows-terraform-module/.github/workflows/feature-branch.yml@main - secrets: - github_access_token: ${{ secrets.REPO_ACCESS_TOKEN }} + secrets: inherit diff --git a/.github/workflows/release-branch.yml b/.github/workflows/release-branch.yml index 3593cea..852d5e3 100644 --- a/.github/workflows/release-branch.yml +++ b/.github/workflows/release-branch.yml @@ -10,6 +10,7 @@ on: - 'docs/**' - 'examples/**' - 'test/**' + - 'README.md' permissions: {} diff --git a/.github/workflows/scheduled.yml b/.github/workflows/scheduled.yml index 163be0b..7bc09ab 100644 --- a/.github/workflows/scheduled.yml +++ b/.github/workflows/scheduled.yml @@ -13,5 +13,4 @@ permissions: jobs: scheduled: uses: cloudposse/github-actions-workflows-terraform-module/.github/workflows/scheduled.yml@main - secrets: - github_access_token: ${{ secrets.REPO_ACCESS_TOKEN }} + secrets: inherit