diff --git a/.github/workflows/check-labels.yml b/.github/workflows/check-labels.yml index b81a6b620..360697baf 100644 --- a/.github/workflows/check-labels.yml +++ b/.github/workflows/check-labels.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Labels not added - if: ${{ contains(github.event.issue.labels.*.name, '') != true }} + if: ${{ contains(github.event.label.name, 'devnet-pass') != true }} run: exit 1 testnet-pass: name: testnet-pass