Skip to content

Commit 0da7ebe

Browse files
chore: sync workflows
1 parent 8155cd5 commit 0da7ebe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/pr-updated.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ jobs:
5555
- name: Set running flag
5656
run: echo "::set-env name=RUNNING::1"
5757
- uses: actions/checkout@v2
58+
with:
59+
ref: ${{ github.head_ref }}
5860
- name: Set running flag
5961
run: |
6062
if [[ ! -f package.json ]] || [[ $(< package.json jq -r '.version == null') == 'true' ]]; then
@@ -96,6 +98,8 @@ jobs:
9698
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
9799

98100
- uses: actions/checkout@v2
101+
with:
102+
ref: ${{ github.head_ref }}
99103
if: env.RUNNING
100104
- uses: technote-space/can-npm-publish-action@v1
101105
if: env.RUNNING

0 commit comments

Comments
 (0)