Skip to content

Commit 5a0dc37

Browse files
committed
build: update github.ref to a string
1 parent 76d24c3 commit 5a0dc37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on: [push, pull_request]
55
jobs:
66
automated_tests:
77
runs-on: ubuntu-latest
8-
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci') && github.ref != main"
8+
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci') && github.ref != 'main'"
99
steps:
1010
- uses: actions/checkout@v2
1111
- name: Use Node.js 20.x

0 commit comments

Comments
 (0)