We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 967975b commit 6629cccCopy full SHA for 6629ccc
1 file changed
.github/workflows/publish-commit.yaml
@@ -1,12 +1,8 @@
1
-# Publishes main-branch's commits to pkg.pr.new
2
# PRs can be published by commenting `/pkg-pr-new` in the PR
3
4
name: Publish Any Commit
5
6
on:
7
- push:
8
- branches:
9
- - main
10
issue_comment:
11
types: [created]
12
@@ -57,7 +53,7 @@ jobs:
57
53
- name: Checkout
58
54
uses: actions/checkout@v4
59
55
with:
60
- fetch-depth: 0
56
+ ref: refs/pull/${{ github.event.issue.number }}/head
61
62
- uses: ./.github/actions/setup-and-build
63
0 commit comments