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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to