Skip to content

Commit

Permalink
echo labels
Browse files Browse the repository at this point in the history
  • Loading branch information
aadnekar committed Jan 18, 2024
1 parent 6695702 commit 8092dc0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Required "doc_required" or "doc_not_required" label'
if: >
contains(github.event.pull_request.labels.*.name, 'doc_required') == false ||
contains(github.event.pull_request.labels.*.name, 'doc_not_required') == false
run: exit 1

run: echo ${{ github.event.pull_request.labels }}
#if: >
# contains(${{ github.event.pull_request.labels }}, 'doc_required') == false ||
# contains(github.event.pull_request.labels.*.name, 'doc_not_required') == false



0 comments on commit 8092dc0

Please sign in to comment.