Skip to content

Merge pull request #1 from cloudposse/feat/add-gha-feature-branch-wor… #1

Merge pull request #1 from cloudposse/feat/add-gha-feature-branch-wor…

Merge pull request #1 from cloudposse/feat/add-gha-feature-branch-wor… #1

Workflow file for this run

name: auto-release
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
# Get PR from merged commit to master
- uses: actions-ecosystem/action-get-merged-pull-request@v1
id: get-merged-pull-request
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# Drafts the next release's Release Notes as Pull Requests are merged into "main"
- uses: release-drafter/release-drafter@v5
with:
publish: ${{ !contains(steps.get-merged-pull-request.outputs.labels, 'no-release') }}
prerelease: false
config-name: auto-release.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}