Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
update to use contains
Browse files Browse the repository at this point in the history
  • Loading branch information
brunopgalvao committed Jul 19, 2023
1 parent 37a96b3 commit 7ef3e32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/try-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ on:
pull_request:
types: [labeled, synchronize]
push:
branches: '*'
branches: [ main ]

jobs:
try_runtime:
if: github.event.label.name == 'migration'
if: contains(github.event.pull_request.labels.*.name, 'migration')
runs-on: ubuntu-latest
steps:
- name: Check out the repo
Expand Down

0 comments on commit 7ef3e32

Please sign in to comment.