Skip to content

Commit

Permalink
fix to check pr pm issue_comment triggered events
Browse files Browse the repository at this point in the history
  • Loading branch information
tnyo43 committed Mar 2, 2024
1 parent 38598c1 commit 0db5dd3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,17 @@ jobs:
runs-on: ubuntu-latest
permissions:
pull-requests: write
if: github.event.issue.pull_request
steps:
- name: Get PR branch
uses: xt0rted/pull-request-comment-branch@v1
id: comment-branch

- name: Checkout
id: checkout
uses: actions/checkout@v4
with:
ref: ${{ steps.comment-branch.outputs.head_ref }}

- name: Test Local Action
id: test-action
Expand Down

0 comments on commit 0db5dd3

Please sign in to comment.