diff --git a/.github/workflows/branch.yml b/.github/workflows/branch.yml new file mode 100644 index 0000000..68b02b9 --- /dev/null +++ b/.github/workflows/branch.yml @@ -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-actions/.github/.github/workflows/shared-github-action.yml@main + secrets: inherit diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b66b379..a003071 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,12 +1,14 @@ -name: Major Release Tagger - +name: Release on: release: - types: - - published + types: [published] + +permissions: + id-token: write + contents: write + pull-requests: write jobs: - publish: - runs-on: ubuntu-latest - steps: - - uses: cloudposse/github-action-major-release-tagger@2 + github-action: + uses: cloudposse-github-actions/.github/.github/workflows/shared-release-branches.yml@main + secrets: inherit