From c27dcd629f1cc486d356b04659f034270dafd527 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com> Date: Tue, 18 Mar 2025 10:36:46 +0100 Subject: [PATCH] Update Workflow (#3185) --- .github/workflows/close-discussion.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/close-discussion.yml b/.github/workflows/close-discussion.yml index dd9a80b33..a811371d4 100644 --- a/.github/workflows/close-discussion.yml +++ b/.github/workflows/close-discussion.yml @@ -10,7 +10,11 @@ jobs: steps: - name: Checkout Repository - uses: actions/checkout@v4 + uses: actions/checkout@v4 + with: + repository: community-scripts/ProxmoxVE + ref: main + token: ${{ secrets.GITHUB_TOKEN }} - name: Set Up Node.js uses: actions/setup-node@v4 @@ -21,7 +25,7 @@ jobs: - name: Close Discussion env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.PAT_MICHEL }} PR_BODY: ${{ github.event.pull_request.body }} PR_NUMBER: ${{ github.event.pull_request.number }} REPO_OWNER: ${{ github.repository_owner }}