Skip to content

Commit

Permalink
Fix workflows (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
goruha authored Jul 11, 2024
1 parent f72af8d commit 8a61542
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 38 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Branch
on:
pull_request:
branches:
- main
- release/**
types: [opened, synchronize, reopened]
push:
branches:
- main
- release/v*
paths-ignore:
- '.github/**'
- 'docs/**'
- 'examples/**'
- 'test/**'
- 'README.md'

permissions:
contents: write
actions: write

jobs:
github-action:
uses: cloudposse/.github/.github/workflows/shared-github-action.yml@main
secrets: inherit
20 changes: 0 additions & 20 deletions .github/workflows/release-branch.yml

This file was deleted.

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

This file was deleted.

8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
---
name: release
name: Release
on:
release:
types:
- published
types: [published]

permissions:
id-token: write
contents: write
pull-requests: write

jobs:
terraform-module:
github-action:
uses: cloudposse/.github/.github/workflows/shared-release-branches.yml@main
secrets: inherit

0 comments on commit 8a61542

Please sign in to comment.