From 5c3201c67c3b309cb8c6c120a15a2d30fef13b45 Mon Sep 17 00:00:00 2001 From: Igor Rodionov Date: Thu, 1 Feb 2024 23:29:03 +0300 Subject: [PATCH] Consolidate auto-release workflow (#372) --- .github/workflows/auto-release.yml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index 8095cc31..b2b03bbe 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -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