Skip to content

Commit 8f8f440

Browse files
Ensure actions are getting current branch
1 parent 6081a94 commit 8f8f440

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
steps:
2121
- name: Checkout
2222
uses: actions/checkout@v4
23+
with:
24+
ref: ${{ github.ref }}
2325
- name: Setup Node.js
2426
uses: actions/setup-node@v4
2527
- name: Install dependencies

.github/workflows/publish-extension.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
steps:
1616
- name: Checkout to branch
1717
uses: actions/checkout@v4
18+
with:
19+
ref: ${{ github.ref }}
1820

1921
- name: Setup node.js
2022
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)