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 aba2739
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 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,10 @@ 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
uses: actions/github-script@v6
with:
script: |
script: console.log(context.pull_request.labels)

0 comments on commit aba2739

Please sign in to comment.