From 7f7a8783f87d8ef9eca6489a57fb1740ca090afd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juraj=20Ny=C3=ADri?= Date: Fri, 24 May 2024 17:59:12 +0200 Subject: [PATCH] Update issues.yml --- .github/workflows/issues.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml index 3b72a44..a765e8b 100644 --- a/.github/workflows/issues.yml +++ b/.github/workflows/issues.yml @@ -21,9 +21,9 @@ jobs: else echo "contains_invalid_string=false" >> $GITHUB_ENV fi - - name: Close Issue if invalid string found + - name: Close Issue if: env.contains_invalid_string == 'true' - uses: roots/issue-closer@v1.1 + uses: peter-evans/close-issue@v3 with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - issue-close-message: "@${issue.user.login} Test." + comment: | + @${issue.user.login} Test