Skip to content

Commit 75892d1

Browse files
committed
ci: allow pre-release tags off main
Pre-release tags are intentionally used to test builds without merging everything to main first, so drop the ancestor check and full fetch; stable release.yaml keeps its existing tag-on-main verification.
1 parent 290b3cb commit 75892d1

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

.github/workflows/pre-release.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,8 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
1818
with:
19-
fetch-depth: 0
2019
persist-credentials: false
2120

22-
- name: Verify tag is on main
23-
run: |
24-
if ! git merge-base --is-ancestor "$GITHUB_SHA" origin/main; then
25-
echo "Error: Pre-release tags must be pushed from the main branch"
26-
exit 1
27-
fi
28-
2921
- name: Setup pnpm, Node.js, and dependencies
3022
uses: ./.github/actions/setup
3123

0 commit comments

Comments
 (0)