Skip to content

Commit 683c1b3

Browse files
committed
chore: use ref
1 parent 0a4c496 commit 683c1b3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/validate.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@ jobs:
3131
needs: main
3232
runs-on: ubuntu-latest
3333
if:
34-
${{ contains('master,beta,next,alpha', github.base_ref) &&
35-
github.event_name == 'push' }}
34+
${{
35+
contains('refs/heads/master,refs/heads/beta,refs/heads/next,refs/heads/alpha',
36+
github.ref) && github.event_name == 'push' }}
3637
steps:
3738
- name: ⬇️ Checkout repo
3839
uses: actions/checkout@v2

0 commit comments

Comments
 (0)