Skip to content

Commit

Permalink
ci runner: change conditional
Browse files Browse the repository at this point in the history
Use contains.
  • Loading branch information
cherusk committed Nov 14, 2024
1 parent 8da6b62 commit 1d4381a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/runner_recreate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ env:

jobs:
ci_runner_recreate:
if: ${{ github.pull_request.label.name == 'ci_runner' && github.pull_request.label.name == 'recreate' }}
if: |
contains(github.event.pull_request.labels.*.name, 'ci_runner') &&
contains(github.event.pull_request.labels.*.name, 'recreate')
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 1d4381a

Please sign in to comment.