From 8fcdc644f22ed89224f537162c6194eb250f93ce Mon Sep 17 00:00:00 2001 From: Carly Gundy Date: Mon, 30 Oct 2023 10:52:45 +0100 Subject: [PATCH] change close PR --- .github/workflows/check_cla.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check_cla.yml b/.github/workflows/check_cla.yml index 8e3a312..3f7c6d1 100644 --- a/.github/workflows/check_cla.yml +++ b/.github/workflows/check_cla.yml @@ -84,15 +84,15 @@ jobs: - name: Close Pull Request id: close_pr if: ${{ steps.accepts_external_contrib.outputs.accepts_contrib != 'true' }} - run: | + uses: superbrothers/close-pull-request@v3 + with: + comment: | message="This repository does not accept external contributions yet. We are therefore closing this Pull Request, thank you for your understanding. — The DFINITY Foundation" gh pr close ${{ github.event.number }} --comment "$message" - env: - GH_TOKEN: ${{ github.token }} - name: Add Label uses: actions-ecosystem/action-add-labels@v1