Skip to content

Commit a99e76f

Browse files
committed
build: checkout branch that ci ran on
This will be needed for maintenance branches.
1 parent 3339a90 commit a99e76f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ on:
44
- cron: '0 19 * * *'
55
workflow_run:
66
workflows: CI
7-
branches: main
87
types: completed
8+
branches: main
99
permissions:
1010
contents: read
1111
concurrency: release
@@ -31,6 +31,7 @@ jobs:
3131
- name: Checkout
3232
uses: actions/[email protected]
3333
with:
34+
ref: ${{github.event.workflow_run.head_branch}}
3435
persist-credentials: false
3536
- name: Get node version
3637
id: node

0 commit comments

Comments
 (0)