You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@linkis.apache.org by ca...@apache.org on 2022/07/11 15:42:52 UTC

[incubator-linkis-website] branch dev updated: Fix auto closing issue bot (#423)

This is an automated email from the ASF dual-hosted git repository.

casion pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-linkis-website.git


The following commit(s) were added to refs/heads/dev by this push:
     new 5d61346f9e Fix auto closing issue bot (#423)
5d61346f9e is described below

commit 5d61346f9e3cf0e9c38e36d9ed79d7f74a481f8c
Author: Beacontownfc <89...@users.noreply.github.com>
AuthorDate: Mon Jul 11 23:42:47 2022 +0800

    Fix auto closing issue bot (#423)
---
 .github/workflows/auto-close-issue.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/auto-close-issue.yml b/.github/workflows/auto-close-issue.yml
index f6c00f900f..ceeaceabe5 100644
--- a/.github/workflows/auto-close-issue.yml
+++ b/.github/workflows/auto-close-issue.yml
@@ -18,7 +18,7 @@ jobs:
 
       - name: Close Issue
         uses: peter-evans/close-issue@v2
-        if: ${{ github.event.pull_request.merged }}
+        if: ${{ github.event.pull_request.merged && steps.Closer.outputs.issueNumber != -1 }}
         with:
           issue-number: ${{ steps.Closer.outputs.issueNumber && steps.Closer.outputs.issueNumber != -1 }}
           comment: The associated PR has been merged, this issue is automatically closed, you can reopend if necessary.


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org
For additional commands, e-mail: commits-help@linkis.apache.org