We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a99d50e commit b9cb7b2Copy full SHA for b9cb7b2
1 file changed
.github/workflows/sync-package-version-with-main.yml
@@ -1,14 +1,8 @@
1
name: Sync Package Version With Main
2
3
on:
4
- pull_request:
5
- branches:
6
- - main
7
- types:
8
- - opened
9
- - reopened
10
- - synchronize
11
- - ready_for_review
+ # Release and hotfix branches intentionally carry versions that can differ
+ # from main, so this workflow must stay opt-in instead of mutating PR heads.
12
workflow_dispatch:
13
14
permissions:
@@ -17,7 +11,6 @@ permissions:
17
jobs:
18
sync-package-version:
19
if: >
20
- (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) &&
21
!startsWith(github.head_ref || github.ref_name, 'release/')
22
15
runs-on: ubuntu-latest
23
16
steps:
0 commit comments