We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be61eeb commit 0234017Copy full SHA for 0234017
.github/workflows/release.yml
@@ -8,12 +8,12 @@ on:
8
types:
9
- closed
10
11
- workflow_dispatch:
+ workflow_dispatch:
12
13
jobs:
14
release:
15
name: 🎁 Publish new release
16
- if: github.event.pull_request.merged == true # only merged pull requests must trigger this job
+ if: github.ref == 'refs/heads/stable' || github.event.pull_request.merged == true # only merged pull requests must trigger this job
17
runs-on: ubuntu-latest
18
steps:
19
@@ -60,7 +60,6 @@ jobs:
60
env:
61
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
62
with:
63
- target_commitish: ${{ GITHUB_SHA }}
64
tag_name: v${{ env.NBGV_SimpleVersion }}
65
name: Release ${{ env.NBGV_SimpleVersion }}
66
body: ${{ steps.changelog_reader.outputs.changes }}
0 commit comments