Skip to content

Commit 992f6eb

Browse files
committed
release: allow git checkout ref from triggering event, not always main
if we want to publish on branches then we need to checkout from the branch we run the publish action on, pinning this to main means it will always publish from main and no branch publish is ever possible
1 parent 1039e9a commit 992f6eb

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v6
1717
with:
18-
ref: 'main'
1918
fetch-depth: 0
2019
# Repository admin required to evade PR+checks branch protection
2120
token: ${{ secrets.GH_TOKEN }}

0 commit comments

Comments
 (0)