Skip to content

Commit 480d8ee

Browse files
authored
Merge pull request #71 from redis/unstable_checkout_fix
Fix unstable checkout
2 parents 034417b + 1447089 commit 480d8ee

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/apt.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,15 @@ jobs:
3636
steps:
3737
- name: Checkout code
3838
uses: actions/checkout@v4
39+
with:
40+
ref: >-
41+
${{ (github.ref_name == 'unstable'
42+
|| github.event_name == 'workflow_dispatch'
43+
|| github.event_name == 'workflow_call'
44+
|| github.event_name == 'schedule')
45+
&& 'unstable'
46+
|| ''
47+
}}
3948
4049
- name: Parse vars
4150
id: parse
@@ -65,4 +74,4 @@ jobs:
6574
|| github.event_name == 'schedule')
6675
&& 'unstable'
6776
|| ''
68-
}}
77+
}}

0 commit comments

Comments
 (0)