We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce72629 commit 20218e1Copy full SHA for 20218e1
1 file changed
workflow-templates/publish-release.yml
@@ -5,10 +5,12 @@ on:
5
types: [closed]
6
7
jobs:
8
- release_merge:
+ publish-release:
9
+ permissions:
10
+ contents: write
11
if: |
12
github.event.pull_request.merged == true &&
- startsWith(github.event.pull_request.head.ref, 'release-v')
13
+ startsWith(github.event.pull_request.head.ref, 'release/')
14
runs-on: ubuntu-latest
15
steps:
16
- uses: actions/checkout@v2
@@ -18,6 +20,8 @@ jobs:
18
20
- uses: actions/setup-node@v2
19
21
with:
22
node-version: ${{ steps.nvm.outputs.NODE_VERSION }}
- - uses: MetaMask/action-publish-release@0.0.2
23
+ - uses: MetaMask/action-publish-release@v1
24
env:
25
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26
+ with:
27
+ release-branch-prefix: release/
0 commit comments