Skip to content

Commit b6c08a5

Browse files
Update build-node.yml
Fix refs line so works in pr
1 parent 42330c8 commit b6c08a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-node.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
with:
3232
repository: Asana/node
3333
path: node
34-
ref: ${{ github.ref_name }}
34+
ref: ${{ github.event_name == 'pull_request' && format('refs/pull/{0}/merge', github.event.pull_request.number) || github.ref_name }}
3535
token: ${{ secrets.GITHUB_TOKEN }}
3636

3737
- name: Extract Node Version

0 commit comments

Comments
 (0)