Skip to content

Commit

Permalink
#1763 echo all PR labels
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Strzebonski committed Jun 24, 2022
1 parent 8e3bb21 commit e54e251
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/merge-only-when-ready.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e54e251

Please sign in to comment.