Skip to content

Commit 676b7e8

Browse files
committed
Remove the ref-is-on-main validation from the prerelease job
1 parent fb8b016 commit 676b7e8

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -146,13 +146,6 @@ jobs:
146146
fetch-depth: 0
147147
ref: ${{ github.event.inputs.ref }}
148148

149-
- name: Verify ref is on main
150-
run: |
151-
if ! git merge-base --is-ancestor ${{ github.event.inputs.ref }} origin/main; then
152-
echo "Error: ref must be an ancestor of main (i.e., already merged)"
153-
exit 1
154-
fi
155-
156149
- name: Setup pnpm
157150
uses: pnpm/action-setup@v4
158151
with:

0 commit comments

Comments
 (0)