Skip to content

Commit

Permalink
chore: Update GitHub Workflows to use shared workflows from '.github'…
Browse files Browse the repository at this point in the history
… repo (#85)
  • Loading branch information
osterman committed May 21, 2024
1 parent a15c630 commit 03edc84
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 37 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
---
name: release-branch
name: Branch
on:
pull_request:
branches:
- main
- release/**
types: [opened, synchronize, reopened, labeled, unlabeled]
push:
branches:
- main
Expand All @@ -16,5 +21,5 @@ permissions: {}

jobs:
terraform-module:
uses: cloudposse/github-actions-workflows-terraform-module/.github/workflows/release-branch.yml@main
uses: cloudposse/.github/.github/workflows/shared-terraform-module.yml@main
secrets: inherit
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: feature-branch-chatops
name: chatops
on:
issue_comment:
types: [created]
Expand All @@ -11,6 +11,6 @@ permissions:

jobs:
terraform-module:
uses: cloudposse/github-actions-workflows-terraform-module/.github/workflows/feature-branch-chatops.yml@main
uses: cloudposse/.github/.github/workflows/shared-terraform-chatops.yml@main
secrets:
github_access_token: ${{ secrets.REPO_ACCESS_TOKEN }}
19 changes: 0 additions & 19 deletions .github/workflows/feature-branch.yml

This file was deleted.

13 changes: 0 additions & 13 deletions .github/workflows/release-published.yml

This file was deleted.

13 changes: 13 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: release
on:
release:
types:
- published

permissions: {}

jobs:
terraform-module:
uses: cloudposse/.github/.github/workflows/shared-release-branches.yml@main
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ permissions:

jobs:
scheduled:
uses: cloudposse/github-actions-workflows-terraform-module/.github/workflows/scheduled.yml@main
uses: cloudposse/.github/.github/workflows/shared-terraform-scheduled.yml@main
secrets: inherit

0 comments on commit 03edc84

Please sign in to comment.