diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1dd86ec..f60a9c0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,12 +8,16 @@ on: workflow_dispatch: jobs: - verify_branch: + publish: runs-on: ubuntu-latest if: github.event.pull_request.merged == true && github.event.pull_request.head.ref == ${{ vars.RELEASE_PR_BRANCH || 'create-pull-request/patch' }} + concurrency: publish outputs: should-publish: steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Publish to GitHub Releases if: github.event_name == 'workflow_dispatch' uses: python-semantic-release/upload-to-gh-release@main