From 0c247f62150cb2aed188c5f885ff4d65ad69b409 Mon Sep 17 00:00:00 2001 From: Sourcegraph Date: Thu, 24 Sep 2026 14:13:49 +0000 Subject: [PATCH] ci: use JENKINS_PAT_TOKEN instead of GH_TOKEN PLT-4375 --- .github/dependabot.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c626618..443315e 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,12 +3,12 @@ registries: npm-github: type: npm-registry url: https://npm.pkg.github.com - token: ${{ secrets.GH_TOKEN }} + token: ${{ secrets.JENKINS_PAT_TOKEN }} git-github: type: git url: https://github.com username: x-access-token - password: '${{ secrets.GH_TOKEN }}' + password: '${{ secrets.JENKINS_PAT_TOKEN }}' updates: - package-ecosystem: npm schedule: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5199529..40af953 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,10 +42,10 @@ jobs: - run: rm ./.npmrc - run: npm config set '//npm.pkg.github.com/:_authToken' $GH_TOKEN env: - GH_TOKEN: ${{ secrets.GH_TOKEN }} + GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} - name: Release if: ${{ contains(github.ref, 'refs/heads/main') || contains(github.ref, 'refs/heads/beta') }} run: yarn release env: - GH_TOKEN: ${{ secrets.GH_TOKEN }} \ No newline at end of file + GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} \ No newline at end of file