Skip to content

Commit 1b868ee

Browse files
authored
Pin to test release workflows (#57)
1 parent 4289771 commit 1b868ee

File tree

4 files changed

+8
-66
lines changed

4 files changed

+8
-66
lines changed

.github/auto-release.yml

Lines changed: 0 additions & 54 deletions
This file was deleted.

.github/workflows/feature-branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
pull_request:
55
branches:
66
- main
7-
- release/**
7+
- release/v*
88
types: [opened, synchronize, reopened, labeled, unlabeled]
99

1010
permissions:

.github/workflows/release-branch.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,16 @@ on:
44
push:
55
branches:
66
- main
7-
- release/**
7+
- release/v*
88
paths-ignore:
99
- '.github/**'
1010
- 'docs/**'
1111
- 'examples/**'
1212
- 'test/**'
1313

14-
permissions:
15-
contents: write
16-
id-token: write
14+
permissions: {}
1715

1816
jobs:
1917
terraform-module:
20-
uses: cloudposse/github-actions-workflows-terraform-module/.github/workflows/release-branch.yml@main
21-
secrets:
22-
github_access_token: ${{ secrets.REPO_ACCESS_TOKEN }}
18+
uses: cloudposse/github-actions-workflows-terraform-module/.github/workflows/release-branch.yml@release-workflows
19+
secrets: inherit

.github/workflows/release-published.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@ on:
55
types:
66
- published
77

8-
permissions:
9-
contents: write
10-
id-token: write
8+
permissions: {}
119

1210
jobs:
1311
terraform-module:
14-
uses: cloudposse/github-actions-workflows-terraform-module/.github/workflows/release.yml@main
12+
uses: cloudposse/github-actions-workflows-terraform-module/.github/workflows/release.yml@release-workflows
13+
secrets: inherit

0 commit comments

Comments
 (0)