Skip to content

Commit 190b4b2

Browse files
authored
chore: Update GitHub Workflows to use shared workflows from '.github' repo (#62)
1 parent 9322f83 commit 190b4b2

File tree

6 files changed

+23
-37
lines changed

6 files changed

+23
-37
lines changed

Diff for: .github/workflows/release-branch.yml renamed to .github/workflows/branch.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
---
2-
name: release-branch
2+
name: Branch
33
on:
4+
pull_request:
5+
branches:
6+
- main
7+
- release/**
8+
types: [opened, synchronize, reopened, labeled, unlabeled]
49
push:
510
branches:
611
- main
@@ -16,5 +21,5 @@ permissions: {}
1621

1722
jobs:
1823
terraform-module:
19-
uses: cloudposse/github-actions-workflows-terraform-module/.github/workflows/release-branch.yml@main
24+
uses: cloudposse/.github/.github/workflows/shared-terraform-module.yml@main
2025
secrets: inherit

Diff for: .github/workflows/feature-branch-chatops.yml renamed to .github/workflows/chatops.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: feature-branch-chatops
2+
name: chatops
33
on:
44
issue_comment:
55
types: [created]
@@ -11,6 +11,6 @@ permissions:
1111

1212
jobs:
1313
terraform-module:
14-
uses: cloudposse/github-actions-workflows-terraform-module/.github/workflows/feature-branch-chatops.yml@main
14+
uses: cloudposse/.github/.github/workflows/shared-terraform-chatops.yml@main
1515
secrets:
1616
github_access_token: ${{ secrets.REPO_ACCESS_TOKEN }}

Diff for: .github/workflows/feature-branch.yml

-19
This file was deleted.

Diff for: .github/workflows/release-published.yml

-13
This file was deleted.

Diff for: .github/workflows/release.yml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
name: release
3+
on:
4+
release:
5+
types:
6+
- published
7+
8+
permissions: {}
9+
10+
jobs:
11+
terraform-module:
12+
uses: cloudposse/.github/.github/workflows/shared-release-branches.yml@main
13+
secrets: inherit

Diff for: .github/workflows/scheduled.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ permissions:
1212

1313
jobs:
1414
scheduled:
15-
uses: cloudposse/github-actions-workflows-terraform-module/.github/workflows/scheduled.yml@main
15+
uses: cloudposse/.github/.github/workflows/shared-terraform-scheduled.yml@main
1616
secrets: inherit

0 commit comments

Comments
 (0)