Skip to content

Commit

Permalink
put workflow_run success check in braces
Browse files Browse the repository at this point in the history
  • Loading branch information
dlarocque committed Nov 4, 2024
1 parent 87a8522 commit 42936e3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-pkg-paths.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:

jobs:
test:
if: ${{ github.event.workflow_run.conclusion }} == 'success'
if: ${{ github.event.workflow_run.conclusion == 'success'}}
name: Test Package Paths
runs-on: ubuntu-latest

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/health-metrics-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ env:
jobs:
binary-size:
name: Binary Size
if: (${{ github.event.workflow_run.conclusion }} == 'success' && (github.event_name == 'push' || !(github.event.pull_request.head.repo.fork)) && (github.actor != 'dependabot[bot]'))
if: (${{ github.event.workflow_run.conclusion == 'success'}} && (github.event_name == 'push' || !(github.event.pull_request.head.repo.fork)) && (github.actor != 'dependabot[bot]'))
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
run: yarn size-report
modular-export-size:
name: Binary Size For Modular Exports
if: (${{ github.event.workflow_run.conclusion }} == 'success' && (github.event_name == 'push' || !(github.event.pull_request.head.repo.fork)) && (github.actor != 'dependabot[bot]'))
if: (${{ github.event.workflow_run.conclusion == 'success'}} && (github.event_name == 'push' || !(github.event.pull_request.head.repo.fork)) && (github.actor != 'dependabot[bot]'))
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
# Auth and Firestore are built and executed in their own jobs in an attempt to reduce flakiness.
test-the-rest:
name: (bulk) Node.js and Browser (Chrome) Tests
if: ${{ github.event.workflow_run.conclusion }} == 'success'
if: ${{ github.event.workflow_run.conclusion == 'success'}}
runs-on: ubuntu-latest
steps:
# install Chrome first, so the correct version of webdriver can be installed by chromedriver when setting up the repo
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:

test-firestore:
name: (Firestore) Node.js and Browser (Chrome) Tests
if: ${{ github.event.workflow_run.conclusion }} == 'success'
if: ${{ github.event.workflow_run.conclusion == 'success'}}
runs-on: ubuntu-latest
steps:
# install Chrome so the correct version of webdriver can be installed by chromedriver when setting up the repo
Expand Down Expand Up @@ -180,7 +180,7 @@ jobs:
path-to-lcov: ./lcov-all.info
continue-on-error: true
test-firestore-integration:
if: ${{ github.event.workflow_run.conclusion }} == 'success'
if: ${{ github.event.workflow_run.conclusion == 'success'}}
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit 42936e3

Please sign in to comment.