From e54e2511678d55f0129cd09413c6ae077ed7be3b Mon Sep 17 00:00:00 2001 From: Jakub Strzebonski Date: Fri, 24 Jun 2022 14:07:57 +0200 Subject: [PATCH] #1763 echo all PR labels --- .github/workflows/merge-only-when-ready.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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