Skip to content

Commit b910184

Browse files
authored
Shared workflows (#38)
* Example terraform fmt * updates from call * use cloudposse suggestions * test matts code * lint all dirs * Test new outputs syntax * fix types * fix reporter * test pr review * reduce scope to dif * rm nofilter * Shared workflows * Use shared workflows * revert testing * update permissions * adjust events * adjust permissions * update naming * update naming * more renames * sync with work * sync work * pr ready
1 parent d799c34 commit b910184

File tree

7 files changed

+30
-271
lines changed

7 files changed

+30
-271
lines changed

.github/workflows/auto-context.yml

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

.github/workflows/auto-format.yml

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

.github/workflows/auto-readme.yml

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

.github/workflows/auto-release.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Feature Branch
2+
on:
3+
pull_request:
4+
branches: [ main ]
5+
types: [opened, synchronize, reopened]
6+
7+
permissions:
8+
pull-requests: write
9+
id-token: write
10+
contents: read
11+
12+
jobs:
13+
terraform-module:
14+
uses: cloudposse/github-actions-workflows-terraform-module/.github/workflows/feature-branch.yml@main
15+
secrets:
16+
github_access_token: ${{ secrets.REPO_ACCESS_TOKEN }}

.github/workflows/main-branch.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Main Branch
2+
on:
3+
push:
4+
branches: [ main ]
5+
6+
permissions:
7+
contents: write
8+
id-token: write
9+
10+
jobs:
11+
terraform-module:
12+
uses: cloudposse/github-actions-workflows-terraform-module/.github/workflows/main-branch.yml@main
13+
secrets:
14+
github_access_token: ${{ secrets.REPO_ACCESS_TOKEN }}

.github/workflows/validate-codeowners.yml

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

0 commit comments

Comments
 (0)