From 1cd1c4405a93c1e43379b6dc660635cb29466580 Mon Sep 17 00:00:00 2001 From: Salah Al Saleh Date: Thu, 4 Jan 2024 16:35:53 +0000 Subject: [PATCH] updates --- .github/workflows/automated-prs-manager.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/automated-prs-manager.yaml b/.github/workflows/automated-prs-manager.yaml index 136f9be328..cbf879c719 100644 --- a/.github/workflows/automated-prs-manager.yaml +++ b/.github/workflows/automated-prs-manager.yaml @@ -6,10 +6,6 @@ on: # schedule: # - cron: "0 0 * * *" -permissions: - contents: write - pull-requests: write - jobs: list-prs: runs-on: ubuntu-latest @@ -22,7 +18,7 @@ jobs: - name: List PRs id: list-prs env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.NIGHTLY_GH_PAT }} run: | set -euo pipefail @@ -48,7 +44,7 @@ jobs: - name: Process PR env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.NIGHTLY_GH_PAT }} run: | set -euo pipefail