Skip to content

Commit

Permalink
Trying to fix no re-check when comment created.
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpojer committed Jan 19, 2024
1 parent 610b5b2 commit 6c1f56d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/check_pr_release_note_comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@ on:
pull_request:
types: [opened, synchronize, reopened, edited, labeled, unlabeled]
branches: [ master ]
issue_comment:
types: [created, deleted]

jobs:
check-release-notes-comments:
runs-on: ubuntu-latest
steps:
- name: Fetch all PR comments
if: ${{ github.event.issue.pull_request }}
id: get-comments
uses: actions/github-script@v7
with:
Expand All @@ -28,6 +31,7 @@ jobs:
return comments.data.map(comment => comment.body);
- name: Check for 'Release Notes' in comments
if: ${{ github.event.issue.pull_request }}
uses: actions/github-script@v7
with:
script: |
Expand Down

0 comments on commit 6c1f56d

Please sign in to comment.