diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c6266186..443315ed 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/deploy-aws.yml b/.github/workflows/deploy-aws.yml index 155fd55c..d9047152 100644 --- a/.github/workflows/deploy-aws.yml +++ b/.github/workflows/deploy-aws.yml @@ -50,7 +50,7 @@ jobs: @typeform:registry=https://npm.pkg.github.com/ EOF env: - GH_TOKEN: ${{ secrets.GH_TOKEN }} + GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} - run: yarn add -W @typeform/jarvis - run: git checkout HEAD -- package.json # do not save jarvis dependency to package.json because it is private diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 910c9121..c56b19fd 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -110,7 +110,7 @@ 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 }} - run: npm config set @typeform:registry https://npm.pkg.github.com/ # install jarvis from github - run: yarn add -W @typeform/jarvis - run: git checkout HEAD -- package.json # do not save jarvis dependency to package.json because it is private (the file is committed by semantic-release to bump version) @@ -128,6 +128,6 @@ jobs: - run: yarn release:preview env: AWS_ASSETS_BUCKET: 'typeform-public-assets/embed' - GH_TOKEN: ${{ secrets.GH_TOKEN }} + GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} JARVIS_NOTIFY_PREVIEW_TEMPLATE: ${{ secrets.JARVIS_NOTIFY_PREVIEW_TEMPLATE }} PUBLIC_CDN_URL: 'https://embed.typeform.com' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9d8d4daf..58c84cb6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: # Use custom token from repo secrets to allow semantic release to push commit: # https://github.com/semantic-release/semantic-release/blob/master/docs/recipes/github-actions.md#pushing-packagejson-changes-to-a-master-branch persist-credentials: false - token: ${{ secrets.GH_TOKEN }} + token: ${{ secrets.JENKINS_PAT_TOKEN }} - name: Set up Node.js uses: actions/setup-node@v6 @@ -50,11 +50,11 @@ jobs: //npm.pkg.github.com/:_authToken=${GH_TOKEN} EOF env: - GH_TOKEN: ${{ secrets.GH_TOKEN }} + GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} - run: yarn release env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + GITHUB_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} SEGMENT_WRITE_KEY: ${{ secrets.DEPLOYMENT_SEGMENT_WRITE_KEY }} - uses: 8398a7/action-slack@v3 diff --git a/.github/workflows/trigger-external-update.yml b/.github/workflows/trigger-external-update.yml index 6da93e06..0d8f2b6a 100644 --- a/.github/workflows/trigger-external-update.yml +++ b/.github/workflows/trigger-external-update.yml @@ -12,13 +12,13 @@ jobs: - name: update_embed_demos uses: peter-evans/repository-dispatch@v4 with: - token: ${{ secrets.GH_TOKEN }} + token: ${{ secrets.JENKINS_PAT_TOKEN }} repository: Typeform/embed-demo event-type: update_embed_demos - name: update_embed_docs uses: peter-evans/repository-dispatch@v4 with: - token: ${{ secrets.GH_TOKEN }} + token: ${{ secrets.JENKINS_PAT_TOKEN }} repository: Typeform/developers event-type: update_embed_docs