mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: fix pre-release (#9199)
This PR enables `pre-release` only for the release PRs.
This commit is contained in:
parent
a9bde8e726
commit
e2aaa553fe
2
.github/workflows/pre-release.yml
vendored
2
.github/workflows/pre-release.yml
vendored
@ -7,7 +7,7 @@ on:
|
||||
|
||||
jobs:
|
||||
pre-release:
|
||||
if: "startsWith(github.event.head_commit.message, 'chore: release main')"
|
||||
if: "github.event_name == 'pull_request' && startsWith(github.event.head_commit.message, 'chore: release main')"
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
|
Loading…
Reference in New Issue
Block a user