Skip to content

Commit

Permalink
Update check-comments.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sonomirco authored Dec 11, 2023
1 parent 73d3f35 commit ed8f3ab
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/check-comments.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
name: Validate PR Comment
# just a comment.
on:
push:
issue_comment:

jobs:
validate:
if: ${{ github.event.issue.pull_request }}
#if: ${{ github.event.issue.pull_request }}
runs-on: ubuntu-latest
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
- run: |
echo ${{ github.event.issue.pull_request.headRef }}
echo "$GITHUB_CONTEXT"
echo ${{ github.event.issue.pull_request.headRefName }}
echo ${{ github.event.issue.pull_request.head.number }}
- name: Checkout code
Expand Down

0 comments on commit ed8f3ab

Please sign in to comment.