Skip to content

Commit

Permalink
test labels
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbou committed Dec 14, 2023
1 parent 79da633 commit 841c94a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ jobs:
- name: check bug
if: ${{ contains(github.event.*.labels.*.name, 'bug') }}
run: echo "found!!!"
- name: current labels
run: gh api --jq '.labels.[].name' /repos/rjbou/opam/pulls/${{ github.event.number }}
- name: what are the labels
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
Expand Down

0 comments on commit 841c94a

Please sign in to comment.