Skip to content

Commit 3610bd6

Browse files
committed
Try new if syntax in workflow file
1 parent 1c64bca commit 3610bd6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/coverage.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ jobs:
1010
test:
1111
name: Run tests & display coverage
1212
runs-on: ubuntu-latest
13-
if: >
14-
${{ github.event.workflow_run.event == 'pull_request' &&
15-
github.event.workflow_run.conclusion == 'success' }}
13+
if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
1614
steps:
1715
- name: DEBUG
1816
run: echo '${{ github.event.workflow_run.event }}' && echo '${{ github.event.workflow_run.conclusion }}'
@@ -21,3 +19,4 @@ jobs:
2119
with:
2220
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2321
GITHUB_PR_RUN_ID: ${{ github.event.workflow_run.id }}
22+
VERBOSE: true

0 commit comments

Comments
 (0)