Skip to content

Commit

Permalink
chore: remove string interpolation from if statement (#579)
Browse files Browse the repository at this point in the history
  • Loading branch information
enocom authored Feb 20, 2024
1 parent 743c703 commit 964519c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/sample-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ jobs:
changes:
# run job on proper workflow event triggers (skip job for pull_request event from forks and only run pull_request_target for "tests: run" label)
if: |
"${{ (github.event.action != 'labeled' && github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name) || github.event.label.name == 'tests: run' }}" &&
${{ github.event_name != 'schedule' }}
(github.event.action != 'labeled' &&
github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name) ||
github.event.label.name == 'tests: run' &&
github.event_name != 'schedule'
runs-on: ubuntu-latest
# Required permissions
permissions:
Expand Down

0 comments on commit 964519c

Please sign in to comment.