Skip to content

Commit

Permalink
Consolidate auto-release workflow (#372)
Browse files Browse the repository at this point in the history
  • Loading branch information
goruha authored Feb 1, 2024
1 parent 784518d commit 5c3201c
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,8 @@ jobs:
semver:
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.REPO_ACCESS_TOKEN }}
# Drafts your next Release notes as Pull Requests are merged into "master"
- 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.REPO_ACCESS_TOKEN }}
- uses: cloudposse/github-action-auto-release@v1
with:
prerelease: false
publish: true
config-name: auto-release.yml

0 comments on commit 5c3201c

Please sign in to comment.