From 2c22b37a689de4b2f8ff6c40705665ec790351f7 Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Thu, 14 Sep 2023 18:14:24 +0100 Subject: [PATCH] Add GitHub token to update dependencies workflow --- .github/workflows/update-dependencies.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml index 594a9f44e1..0d24650e05 100644 --- a/.github/workflows/update-dependencies.yml +++ b/.github/workflows/update-dependencies.yml @@ -15,15 +15,16 @@ jobs: - name: Remove PR label env: + GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' REPOSITORY: '${{ github.repository }}' PR_NUMBER: '${{ github.event.pull_request.number }}' - GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' run: | gh api "repos/$REPOSITORY/issues/$PR_NUMBER/labels/Update%20dependencies" -X DELETE - name: Push updated dependencies env: BRANCH: '${{ github.head_ref }}' + GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' run: | git fetch origin "$BRANCH" --depth=1 git checkout "origin/$BRANCH" pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy