Skip to content

Commit

Permalink
different contains
Browse files Browse the repository at this point in the history
  • Loading branch information
sam0x17 committed Apr 21, 2024
1 parent bc38883 commit 009bc0b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/check-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,8 @@ jobs:
name: devnet-pass
runs-on: ubuntu-latest
steps:
- name: Labels added
if: ${{ contains(fromJson('["devnet-pass"]'), github.event.label.name) == true }}
run: echo Pass
- name: Labels not added
if: ${{ contains(fromJson('["devnet-pass"]'), github.event.label.name) != true }}
if: ${{ contains( github.event.pull_request.labels.*.name, 'devnet-pass')) != true }}
run: exit 1
testnet-pass:
name: testnet-pass
Expand Down

0 comments on commit 009bc0b

Please sign in to comment.