From 17fb4e60f0557d0cd01023396669435d98a2264f Mon Sep 17 00:00:00 2001 From: Sourcegraph Date: Wed, 9 Sep 2026 12:37:08 +0000 Subject: [PATCH] ci: use JENKINS_PAT_TOKEN instead of GH_TOKEN PLT-4267 --- .github/dependabot.yml | 2 +- .github/workflows/pull-request.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 5f76f73..a0bb00c 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -30,4 +30,4 @@ registries: gh-packages: type: npm-registry url: https://npm.pkg.github.com - token: ${{ secrets.GH_TOKEN }} + token: ${{ secrets.JENKINS_PAT_TOKEN }} diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index d917b99..891a13c 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -78,7 +78,7 @@ jobs: - run: npm config set '//registry.npmjs.org/:_authToken' $NPM_TOKEN - run: npm config set '//npm.pkg.github.com/:_authToken' $GH_TOKEN env: - GH_TOKEN: ${{ secrets.GH_TOKEN }} + GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} - run: npm config set @typeform:registry https://npm.pkg.github.com/ # install jarvis private package from github @@ -99,7 +99,7 @@ jobs: - run: yarn release:aws --preview --notify-preview env: AWS_ASSETS_BUCKET: 'typeform-public-assets/btn' - GH_TOKEN: ${{ secrets.GH_TOKEN }} + GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} JARVIS_NOTIFY_PREVIEW_TEMPLATE: ${{ secrets.JARVIS_NOTIFY_PREVIEW_TEMPLATE }} PUBLIC_CDN_URL: 'https://btn.typeform.com' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5ee0033..6410f00 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,7 +44,7 @@ jobs: - run: npm config set '//registry.npmjs.org/:_authToken' $NPM_TOKEN - run: npm config set '//npm.pkg.github.com/:_authToken' $GH_TOKEN env: - GH_TOKEN: ${{ secrets.GH_TOKEN }} + GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} - run: npm config set @typeform:registry https://npm.pkg.github.com/ # install jarvis private package from github @@ -65,7 +65,7 @@ jobs: env: AWS_ASSETS_BUCKET: 'typeform-public-assets/btn' AWS_CLOUDFRONT_DIST: 'E3IUO95IYL1RI3' - GH_TOKEN: ${{ secrets.GH_TOKEN }} + GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} JARVIS_NOTIFY_PREVIEW_TEMPLATE: ${{ secrets.JARVIS_NOTIFY_PREVIEW_TEMPLATE }} PUBLIC_CDN_URL: 'https://btn.typeform.com'