From e6f83080232693409c52e51b2bb454dca5ea889b Mon Sep 17 00:00:00 2001 From: Salah Al Saleh Date: Mon, 1 Jan 2024 17:31:54 +0000 Subject: [PATCH] set GH_TOKEN env var --- .github/workflows/dependabot-prs-manager.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dependabot-prs-manager.yaml b/.github/workflows/dependabot-prs-manager.yaml index 79df352bce..27738fc112 100644 --- a/.github/workflows/dependabot-prs-manager.yaml +++ b/.github/workflows/dependabot-prs-manager.yaml @@ -9,7 +9,8 @@ on: jobs: list-prs: runs-on: ubuntu-latest - + env: + GH_TOKEN: ${{ secrets.NIGHTLY_GH_PAT }} steps: - name: Checkout uses: actions/checkout@v4 @@ -30,14 +31,12 @@ jobs: strategy: matrix: pr: ${{ fromJson(needs.list-prs.outputs.prs) }} - + env: + GH_TOKEN: ${{ secrets.NIGHTLY_GH_PAT }} steps: - name: Checkout uses: actions/checkout@v4 - - name: Login with CI token - run: gh auth login --with-token < ${{ secrets.NIGHTLY_GH_PAT }} - - name: Merge PR run: | set +e