From 5287d4b03b3d9db88120ff97f07538f43cc8c4fa Mon Sep 17 00:00:00 2001 From: Pascal Aznar Date: Sat, 7 Sep 2024 15:32:02 +0200 Subject: [PATCH] avoid pr auto reply --- .github/workflows/issue_helper.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/issue_helper.yml b/.github/workflows/issue_helper.yml index 4f4398b6a..c07077f89 100644 --- a/.github/workflows/issue_helper.yml +++ b/.github/workflows/issue_helper.yml @@ -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: @@ -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