File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -62,19 +62,15 @@ jobs:
6262 fi
6363
6464 is-release :
65- # Filtering by `push` events ensures that we only release from the `main` branch, which is a
66- # requirement for our npm publishing environment.
67- # The commit author should always be 'github-actions' for releases created by the
68- # 'create-release-pr' workflow, so we filter by that as well to prevent accidentally
69- # triggering a release.
70- if : github.event_name == 'push' && startsWith(github.event.head_commit.author.name, 'github-actions')
65+ name : Determine whether this is a release merge commit
7166 needs : all-jobs-pass
67+ if : github.event_name == 'push'
68+ runs-on : ubuntu-latest
7269 outputs :
7370 IS_RELEASE : ${{ steps.is-release.outputs.IS_RELEASE }}
74- runs-on : ubuntu-latest
7571 steps :
76- - uses : MetaMask/action- is-release@v1
77- id : is-release
72+ - id : is-release
73+ uses : MetaMask/action- is-release@v2
7874
7975 publish-release :
8076 needs : is-release
You can’t perform that action at this time.
0 commit comments