Skip to content

Commit 3fa777e

Browse files
author
ddundo
committed
Simplify matrix condition try 2
1 parent a4acb72 commit 3fa777e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test_suite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
matrix:
3535
# Run the workflow on master and dev branches if triggered by a schedule event.
3636
# Otherwise, run the workflow on the source branch of the pull request.
37-
branch: ${{ github.event_name == 'schedule' && fromJSON('["master", "dev"]') || fromJSON('["' + github.head_ref + '"]') }}
37+
branch: ${{ github.event_name == 'schedule' && fromJSON('["master", "dev"]') || fromJSON('["${{ github.head_ref }}"]') }}
3838
fail-fast: false
3939

4040
# Use pygem:latest for master branch and pygem:dev otherwise

0 commit comments

Comments
 (0)