Skip to content

Commit

Permalink
Use proper Github actions syntax. (#4394)
Browse files Browse the repository at this point in the history
  • Loading branch information
fruffy authored Feb 5, 2024
1 parent f24bae4 commit 383bc8a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-ubuntu-18-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
# Build with gcc and test p4c on Ubuntu 18.04.
test-ubuntu18:
# Only run on pull requests with the "run-ubuntu18" label.
if: ${{ github.event_name == 'schedule' }} or contains(github.event.pull_request.labels.*.name, 'run-ubuntu18')
if: ${{ github.event_name == 'schedule' || contains(github.event.pull_request.labels.*.name, 'run-ubuntu18') }}
strategy:
fail-fast: false
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-ubuntu-20-sanitizer-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
# Build with clang and test p4c on Ubuntu 20.04.
test-ubuntu20-clang-sanitizers:
# Only run on pull requests with the "run-sanitizer" label.
if: ${{ github.event_name == 'schedule' }} or contains(github.event.pull_request.labels.*.name, 'run-sanitizer')
if: ${{ github.event_name == 'schedule' || contains(github.event.pull_request.labels.*.name, 'run-sanitizer') }}
strategy:
fail-fast: false
runs-on: ubuntu-20.04
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-validation-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
# We only test the front end and some mid end passes for now.
validate:
# Only run on pull requests with the "run-validation" label.
if: ${{ github.event_name == 'schedule' }} or contains(github.event.pull_request.labels.*.name, 'run-validation')
if: ${{ github.event_name == 'schedule' || contains(github.event.pull_request.labels.*.name, 'run-validation') }}
env:
CTEST_PARALLEL_LEVEL: 4
IMAGE_TYPE: test
Expand Down

0 comments on commit 383bc8a

Please sign in to comment.