diff --git a/.github/workflows/merge-only-when-ready.yml b/.github/workflows/merge-only-when-ready.yml index 091af0936b..598536ccbf 100644 --- a/.github/workflows/merge-only-when-ready.yml +++ b/.github/workflows/merge-only-when-ready.yml @@ -6,8 +6,12 @@ on: jobs: allow-merge: - if: contains(github.event.pull_request.labels.*.name, 'ready-to-merge') runs-on: ubuntu-latest steps: - name: PR is ready to merge - run: true + run: | + labels=${{ github.event.pull_request.labels }} + for l in ${labels[*]} + do + echo ${l} + done