Skip to content

Commit

Permalink
Add commit message filter for release check (#983)
Browse files Browse the repository at this point in the history
A check has been added to the `is-release` job to ensure that the commit
message looks the way we expect it to. This acts as protection against
accidentally triggering the release workflow.
  • Loading branch information
Gudahtt committed Nov 24, 2022
1 parent fe822ff commit bbc4327
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ jobs:
outputs:
IS_RELEASE: ${{ steps.is-release.outputs.IS_RELEASE }}
steps:
- uses: MetaMask/action-is-release@v1
id: is-release
- id: is-release
uses: MetaMask/action-is-release@v1
with:
commit-starts-with: 'Release [version]'

publish-release:
name: Publish release
Expand Down

0 comments on commit bbc4327

Please sign in to comment.