Skip to content

Commit 92e416e

Browse files
committed
fix workflow event param
1 parent 3af64e6 commit 92e416e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
build:
1010

1111
runs-on: ubuntu-latest
12-
if: github.repository == 'shimmer' || github.event.push.ref != 'refs/heads/public-clone' || github.event.push.ref != 'refs/heads/main'
12+
if: github.repository == 'shimmer' || github.event.ref != 'refs/heads/public-clone' || github.event.ref != 'refs/heads/main'
1313

1414
steps:
1515
- uses: actions/checkout@v3
@@ -18,7 +18,7 @@ jobs:
1818
with:
1919
python-version: "3.11.4"
2020
- name: test
21-
run: echo "${{ github.event.push.ref }}"
21+
run: echo "${{ github.event.ref }}"
2222
- name: Load cached Poetry install
2323
uses: actions/cache@v3
2424
id: cached-poetry

0 commit comments

Comments
 (0)