Skip to content

Commit

Permalink
avoid pr auto reply
Browse files Browse the repository at this point in the history
  • Loading branch information
blaisewf authored Sep 7, 2024
1 parent 57bb5eb commit 5287d4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/issue_helper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
jobs:
check_issue_template:
runs-on: ubuntu-latest
if: github.event_name == 'issues' || (github.event_name == 'issue_comment' && github.event.issue.pull_request == null)
outputs:
template_followed: ${{ steps.check_template.outputs.template_followed }}
steps:
Expand Down Expand Up @@ -62,7 +63,7 @@ jobs:
auto_reply:
runs-on: ubuntu-latest
needs: check_issue_template
if: needs.check_issue_template.outputs.template_followed == 'true'
if: needs.check_issue_template.outputs.template_followed == 'true' && github.event.issue.pull_request == null
steps:
- name: Generate Response and Post Comment
uses: actions/github-script@v6
Expand Down

0 comments on commit 5287d4b

Please sign in to comment.