From 29c53f1ffd157c6c828765681e6aab67c84bff6e Mon Sep 17 00:00:00 2001 From: Mogyuchi Date: Tue, 21 Jun 2022 23:28:50 +0900 Subject: [PATCH] fix close issues action --- .github/workflows/close-issues.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/close-issues.yml b/.github/workflows/close-issues.yml index 388c9765f..24ea3ea78 100644 --- a/.github/workflows/close-issues.yml +++ b/.github/workflows/close-issues.yml @@ -56,7 +56,8 @@ jobs: GH_REPO: ${{ github.repository }} PR_NUMBER: ${{ github.event.number }} steps: - - run: | + - name: Close issues + run: | gh pr view $PR_NUMBER --json body --jq .body | grep -oP --ignore-case '(^|\W)((close|resolve)(|s|d)|fix(|es|ed)) #[\d]+(?=\W|$)' | grep -oP '#[\d]+' |