From d614519ee7f9e52b83be5363b5ffd558745be4cb Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 14 Jan 2024 07:12:47 +0100 Subject: [PATCH] Add necessary params. --- .github/workflows/close-duplicates.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/close-duplicates.yml b/.github/workflows/close-duplicates.yml index b2b26d9f9e..438778e5d5 100644 --- a/.github/workflows/close-duplicates.yml +++ b/.github/workflows/close-duplicates.yml @@ -24,3 +24,7 @@ jobs: gh issue comment "$NUMBER" --body "Hi there!\n\nThis is an automatic reply. `Share and enjoy`.\n\nThis issue is probably a duplicate of #${{ steps.command.outputs.params }}. Please refer to that issue for support.\n\nThank you for your contribution." gh issue close "$NUMBER" --reason completed gh issue lock "$NUMBER" + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_REPO: ${{ github.repository }} + NUMBER: ${{ github.event.issue.number }}