Skip to content

Commit

Permalink
add another target
Browse files Browse the repository at this point in the history
  • Loading branch information
emmyoop authored May 8, 2024
1 parent d1e503a commit 0736e1b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/issues_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ name: Output Issue Metadata
on:
issues:
types: [labeled, closed]
pull_request_target:
types: [labeled, closed]

defaults:
run:
Expand All @@ -25,3 +27,10 @@ jobs:
echo ${{ github.event.issue.number }}
echo ${{ github.event.issue.state_reason }}
echo ${{ github.event.issue.comments }}
- name: "Is the issue open?"
run: |
echo ${{ github.event.issue.pr.number }}
echo ${{ github.event.pull_request.number }}
- name: "Pick one"
run: |
echo ${{ github.event.pull_request.number || github.event.issue.number }}

0 comments on commit 0736e1b

Please sign in to comment.