diff --git a/.github/workflows/frontend-deploy-workflow.yml b/.github/workflows/frontend-deploy-workflow.yml index 0675c6c..c8c4d0d 100644 --- a/.github/workflows/frontend-deploy-workflow.yml +++ b/.github/workflows/frontend-deploy-workflow.yml @@ -341,21 +341,21 @@ jobs: use-asdf: ${{ inputs.use-asdf }} cache-mode: ${{ inputs.cache-mode }} disable-restore-keys: ${{ inputs.disable-restore-keys }} - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} package-manager: ${{ inputs.package-manager }} - name: Setup Jarvis uses: Typeform/.github/shared-actions/setup-jarvis@v1 with: jarvis-branch: ${{ inputs.jarvis-branch }} - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} package-manager: ${{ inputs.package-manager }} - name: Run pre-build command if: inputs.pre-build-command != '' run: ${{ inputs.pre-build-command }} env: - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} TURBO_SCM_BASE: ${{ inputs.turbo-scm-base }} - name: Clean dist directory @@ -365,7 +365,7 @@ jobs: run: ${{ inputs.build-command }} env: PUBLIC_CDN_URL: ${{ inputs.cdn-url }} - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} TURBO_SCM_BASE: ${{ inputs.turbo-scm-base }} JARVIS_DATADOG_LOGS_ENABLED: ${{ inputs.jarvis-datadog-enabled }} JARVIS_DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY || secrets.DATADOG_API_KEY_FRONTEND_METRICS }} @@ -440,27 +440,27 @@ jobs: use-asdf: ${{ inputs.use-asdf }} cache-mode: ${{ inputs.cache-mode }} disable-restore-keys: ${{ inputs.disable-restore-keys }} - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} package-manager: ${{ inputs.package-manager }} - name: Setup Jarvis uses: Typeform/.github/shared-actions/setup-jarvis@v1 with: jarvis-branch: ${{ inputs.jarvis-branch }} - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} package-manager: ${{ inputs.package-manager }} - name: Run pre-test command if: inputs.pre-test-command != '' run: ${{ inputs.pre-test-command }} env: - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} TURBO_SCM_BASE: ${{ inputs.turbo-scm-base }} - name: Run unit tests run: ${{ inputs.unit-test-command }} env: - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} TURBO_SCM_BASE: ${{ inputs.turbo-scm-base }} - name: Upload coverage @@ -490,14 +490,14 @@ jobs: use-asdf: ${{ inputs.use-asdf }} cache-mode: ${{ inputs.cache-mode }} disable-restore-keys: ${{ inputs.disable-restore-keys }} - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} package-manager: ${{ inputs.package-manager }} - name: Setup Jarvis uses: Typeform/.github/shared-actions/setup-jarvis@v1 with: jarvis-branch: ${{ inputs.jarvis-branch }} - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} package-manager: ${{ inputs.package-manager }} - name: Setup Playwright @@ -508,7 +508,7 @@ jobs: if: inputs.pre-test-command != '' run: ${{ inputs.pre-test-command }} env: - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} TURBO_SCM_BASE: ${{ inputs.turbo-scm-base }} - name: Download Build Artifacts @@ -520,7 +520,7 @@ jobs: - name: Run integration tests run: ${{ inputs.integration-test-command }} env: - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} TURBO_SCM_BASE: ${{ inputs.turbo-scm-base }} VRT_APIURL: ${{ secrets.VRT_APIURL }} VRT_APIKEY: ${{ secrets.VRT_APIKEY }} @@ -559,7 +559,7 @@ jobs: wait-on-url: ${{ inputs.cypress-functional-wait-on }} artifact-name: 'cypress-functional-results-${{ github.run_id }}' artifact-retention-days: '7' - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} package-manager: ${{ inputs.package-manager }} @@ -588,7 +588,7 @@ jobs: vrt-build-id: ${{ github.sha }} artifact-name: 'cypress-visual-results-${{ github.run_id }}' artifact-retention-days: '7' - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} VRT_APIURL: ${{ secrets.VRT_APIURL }} VRT_APIKEY: ${{ secrets.VRT_APIKEY }} @@ -621,7 +621,7 @@ jobs: vrt-build-id: ${{ github.sha }} artifact-name: "playwright-visual-results-${{ github.run_id }}" artifact-retention-days: "7" - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} VRT_APIURL: ${{ secrets.VRT_APIURL }} VRT_APIKEY: ${{ secrets.VRT_APIKEY }} VRT_PROJECT: ${{ secrets.VRT_PROJECT }} @@ -666,7 +666,7 @@ jobs: - name: Check out Git repository uses: actions/checkout@v6 with: - token: ${{ secrets.JENKINS_PAT_TOKEN }} + token: ${{ secrets.GH_TOKEN }} fetch-depth: 0 - name: Configure Git @@ -681,7 +681,7 @@ jobs: use-asdf: ${{ inputs.use-asdf }} cache-mode: ${{ inputs.cache-mode }} disable-restore-keys: ${{ inputs.disable-restore-keys }} - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} package-manager: ${{ inputs.package-manager }} - name: Download Build Artifacts @@ -694,7 +694,7 @@ jobs: uses: Typeform/.github/shared-actions/setup-jarvis@v1 with: jarvis-branch: ${{ inputs.jarvis-branch }} - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} package-manager: ${{ inputs.package-manager }} - name: AWS auth @@ -720,7 +720,7 @@ jobs: # Jarvis debug logging DEBUG: jarvis # GitHub - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} TURBO_SCM_BASE: ${{ inputs.turbo-scm-base }} # AWS configuration AWS_REGION: ${{ inputs.aws-region }} diff --git a/.github/workflows/frontend-library-pr-release-workflow.yml b/.github/workflows/frontend-library-pr-release-workflow.yml index 2a1e1e4..48f0d18 100644 --- a/.github/workflows/frontend-library-pr-release-workflow.yml +++ b/.github/workflows/frontend-library-pr-release-workflow.yml @@ -104,7 +104,7 @@ jobs: uses: Typeform/.github/shared-actions/setup-node-with-cache@main with: node-version: ${{ inputs.node-version }} - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} - name: Run linters run: ${{ inputs.lint-command }} @@ -122,8 +122,8 @@ jobs: contains(fromJSON(inputs.semantic-release-branches), github.ref_name) run: ${{ inputs.semantic-release-command }} env: - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} - NPM_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} + NPM_TOKEN: ${{ secrets.GH_TOKEN }} # SonarCloud Scan — REMOVED (SonarCloud has been decommissioned). # The `run-sonarcloud`, `sonar-project-key` inputs and `SONAR_CLOUD_TOKEN` diff --git a/.github/workflows/frontend-pr-workflow.yml b/.github/workflows/frontend-pr-workflow.yml index 5495970..2959cce 100644 --- a/.github/workflows/frontend-pr-workflow.yml +++ b/.github/workflows/frontend-pr-workflow.yml @@ -56,11 +56,11 @@ on: runner: description: 'Runner for build/deploy jobs' type: string - default: '[ci-universal-scale-set]' + default: '["ci-universal-scale-set"]' e2e-runner: description: 'Runner for E2E/integration tests' type: string - default: '[ci-e2e-scale-set]' + default: '["ci-e2e-scale-set"]' # Build configuration pre-build-command: @@ -327,14 +327,14 @@ jobs: use-asdf: ${{ inputs.use-asdf }} cache-mode: ${{ inputs.cache-mode }} disable-restore-keys: ${{ inputs.disable-restore-keys }} - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} package-manager: ${{ inputs.package-manager }} - name: Setup Jarvis uses: Typeform/.github/shared-actions/setup-jarvis@v1 with: jarvis-branch: ${{ inputs.jarvis-branch }} - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} package-manager: ${{ inputs.package-manager }} # Runs before linting AND build so that generated files (e.g. GraphQL @@ -344,7 +344,7 @@ jobs: if: inputs.pre-build-command != '' run: ${{ inputs.pre-build-command }} env: - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} TURBO_SCM_BASE: ${{ inputs.turbo-scm-base }} - name: Run linting @@ -360,7 +360,7 @@ jobs: run: ${{ inputs.build-command }} env: PUBLIC_CDN_URL: ${{ inputs.cdn-url }} - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} TURBO_SCM_BASE: ${{ inputs.turbo-scm-base }} JARVIS_DATADOG_LOGS_ENABLED: ${{ inputs.jarvis-datadog-enabled }} JARVIS_DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY || secrets.DATADOG_API_KEY_FRONTEND_METRICS }} @@ -402,27 +402,27 @@ jobs: use-asdf: ${{ inputs.use-asdf }} cache-mode: ${{ inputs.cache-mode }} disable-restore-keys: ${{ inputs.disable-restore-keys }} - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} package-manager: ${{ inputs.package-manager }} - name: Setup Jarvis uses: Typeform/.github/shared-actions/setup-jarvis@v1 with: jarvis-branch: ${{ inputs.jarvis-branch }} - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} package-manager: ${{ inputs.package-manager }} - name: Run pre-test command if: inputs.pre-test-command != '' run: ${{ inputs.pre-test-command }} env: - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} TURBO_SCM_BASE: ${{ inputs.turbo-scm-base }} - name: Run unit tests run: ${{ inputs.unit-test-command }} env: - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} TURBO_SCM_BASE: ${{ inputs.turbo-scm-base }} - name: Upload coverage @@ -452,21 +452,21 @@ jobs: use-asdf: ${{ inputs.use-asdf }} cache-mode: ${{ inputs.cache-mode }} disable-restore-keys: ${{ inputs.disable-restore-keys }} - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} package-manager: ${{ inputs.package-manager }} - name: Setup Jarvis uses: Typeform/.github/shared-actions/setup-jarvis@v1 with: jarvis-branch: ${{ inputs.jarvis-branch }} - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} package-manager: ${{ inputs.package-manager }} - name: Run pre-test command if: inputs.pre-test-command != '' run: ${{ inputs.pre-test-command }} env: - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} TURBO_SCM_BASE: ${{ inputs.turbo-scm-base }} - name: Setup Playwright @@ -482,7 +482,7 @@ jobs: - name: Run integration tests run: ${{ inputs.integration-test-command }} env: - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} TURBO_SCM_BASE: ${{ inputs.turbo-scm-base }} VRT_APIURL: ${{ secrets.VRT_APIURL }} VRT_APIKEY: ${{ secrets.VRT_APIKEY }} @@ -520,7 +520,7 @@ jobs: use-asdf: ${{ inputs.use-asdf }} cache-mode: ${{ inputs.cache-mode }} disable-restore-keys: ${{ inputs.disable-restore-keys }} - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} package-manager: ${{ inputs.package-manager }} - name: Download Build Artifacts @@ -533,7 +533,7 @@ jobs: uses: Typeform/.github/shared-actions/setup-jarvis@v1 with: jarvis-branch: ${{ inputs.jarvis-branch }} - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} package-manager: ${{ inputs.package-manager }} - name: AWS auth @@ -556,7 +556,7 @@ jobs: ${{ inputs.deploy-command }} env: DEBUG: jarvis - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} TURBO_SCM_BASE: ${{ inputs.turbo-scm-base }} AWS_ASSETS_BUCKET: ${{ inputs.cdn-bucket }} AWS_CLOUDFRONT_DIST: ${{ inputs.cloudfront-dist }} @@ -595,7 +595,7 @@ jobs: contents: read uses: Typeform/.github/.github/workflows/graphql-generate-persisted-operations.yml@v1 secrets: - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} # Job 7: Deep Purple E2E Tests deep-purple: @@ -635,7 +635,7 @@ jobs: wait-on-url: ${{ inputs.cypress-functional-wait-on }} artifact-name: 'cypress-functional-results-${{ github.run_id }}' artifact-retention-days: '7' - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} package-manager: ${{ inputs.package-manager }} @@ -665,7 +665,7 @@ jobs: vrt-build-id: ${{ github.sha }} artifact-name: 'playwright-visual-results-${{ github.run_id }}' artifact-retention-days: '7' - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} VRT_APIURL: ${{ secrets.VRT_APIURL }} VRT_APIKEY: ${{ secrets.VRT_APIKEY }} VRT_PROJECT: ${{ secrets.VRT_PROJECT }} @@ -696,7 +696,7 @@ jobs: vrt-build-id: ${{ github.sha }} artifact-name: 'cypress-visual-results-${{ github.run_id }}' artifact-retention-days: '7' - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} VRT_APIURL: ${{ secrets.VRT_APIURL }} VRT_APIKEY: ${{ secrets.VRT_APIKEY }} @@ -727,7 +727,7 @@ jobs: - name: Check out Git repository uses: actions/checkout@v6 with: - token: ${{ secrets.JENKINS_PAT_TOKEN }} + token: ${{ secrets.GH_TOKEN }} - name: Push tree-hash marker run: | diff --git a/.github/workflows/go-lint-workflow.yaml b/.github/workflows/go-lint-workflow.yaml index 815674d..bd173af 100644 --- a/.github/workflows/go-lint-workflow.yaml +++ b/.github/workflows/go-lint-workflow.yaml @@ -62,11 +62,11 @@ jobs: repository: ${{ inputs.golangci-lint-config-repo }} ref: ${{ inputs.golangci-lint-config-repo-ref }} path: ${{ inputs.golangci-lint-config-repo-path }} - token: ${{ secrets.JENKINS_PAT_TOKEN }} + token: ${{ secrets.GH_TOKEN }} - name: Configure git for private modules env: - TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + TOKEN: ${{ secrets.GH_TOKEN }} run: | git config --global url."https://${TOKEN}:x-oauth-basic@github.com/".insteadOf "https://github.com/" export GOPRIVATE=github.com/Typeform/* diff --git a/.github/workflows/graphql-generate-persisted-operations.yml b/.github/workflows/graphql-generate-persisted-operations.yml index 602c2ef..c36a597 100644 --- a/.github/workflows/graphql-generate-persisted-operations.yml +++ b/.github/workflows/graphql-generate-persisted-operations.yml @@ -27,7 +27,7 @@ jobs: update-allow-list: runs-on: ["${{ inputs.runner }}"] env: - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} GRAPHQL_ENDPOINTS: | https://graphqlbff.staging.internal.tfdev.typeform.tf https://graphqlbff.tfprod.internal.typeform.tf @@ -53,7 +53,7 @@ jobs: - name: Set GitHub packages registry run: | - npm config set '//npm.pkg.github.com/:_authToken' ${{ secrets.JENKINS_PAT_TOKEN }} + npm config set '//npm.pkg.github.com/:_authToken' ${{ secrets.GH_TOKEN }} npm config set @typeform:registry https://npm.pkg.github.com/ - name: Check if GraphQL endpoints are reachable diff --git a/reusable-workflows/frontend-pr-workflow/README.md b/reusable-workflows/frontend-pr-workflow/README.md index 99f93d6..992c08f 100644 --- a/reusable-workflows/frontend-pr-workflow/README.md +++ b/reusable-workflows/frontend-pr-workflow/README.md @@ -56,8 +56,8 @@ jobs: | Input | Description | Default | |-------|-------------|---------| | `node-version` | Node.js version | `'20'` | -| `runner` | Runner for build/deploy jobs | `'[ci-universal-scale-set]'` | -| `e2e-runner` | Runner for E2E/integration tests | `'[ci-e2e-scale-set]'` | +| `runner` | Runner for build/deploy jobs | `'["ci-universal-scale-set"]'` | +| `e2e-runner` | Runner for E2E/integration tests | `'["ci-e2e-scale-set"]'` | | `build-command` | Build command | `'yarn dist:preview'` | | `clean-command` | Clean command before build | `'yarn clean'` | | `run-unit-tests` | Run unit tests | `false` | @@ -187,8 +187,8 @@ jobs: node-version: '20' # Runners - runner: '[ci-universal-scale-set]' - e2e-runner: '[ci-e2e-scale-set]' + runner: '["ci-universal-scale-set"]' + e2e-runner: '["ci-e2e-scale-set"]' # Build build-command: 'yarn dist:preview' @@ -274,7 +274,7 @@ with: with: app-name: 'bob-the-builder' build-command: 'yarn turbo run build' - runner: '[ci-bob-the-builder-release-scale-set]' # Custom runner + runner: '["ci-bob-the-builder-release-scale-set"]' # Custom runner run-unit-tests: true ``` diff --git a/reusable-workflows/frontend-pr-workflow/workflow.yml b/reusable-workflows/frontend-pr-workflow/workflow.yml index 4a69a00..5566876 100644 --- a/reusable-workflows/frontend-pr-workflow/workflow.yml +++ b/reusable-workflows/frontend-pr-workflow/workflow.yml @@ -19,11 +19,11 @@ on: runner: description: 'Runner for build/deploy jobs' type: string - default: '[ci-universal-scale-set]' + default: '["ci-universal-scale-set"]' e2e-runner: description: 'Runner for E2E/integration tests' type: string - default: '[ci-e2e-scale-set]' + default: '["ci-e2e-scale-set"]' # Build configuration build-command: @@ -156,14 +156,14 @@ jobs: uses: Typeform/.github/shared-actions/setup-node-with-cache@main with: node-version: ${{ inputs.node-version }} - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} package-manager: ${{ inputs.package-manager }} - name: Setup Jarvis uses: Typeform/.github/shared-actions/setup-jarvis@main with: jarvis-branch: ${{ inputs.jarvis-branch }} - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} package-manager: ${{ inputs.package-manager }} - name: Clean dist directory @@ -173,7 +173,7 @@ jobs: run: ${{ inputs.build-command }} env: PUBLIC_CDN_URL: ${{ inputs.cdn-url }} - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} JARVIS_DATADOG_LOGS_ENABLED: ${{ inputs.jarvis-datadog-enabled }} JARVIS_DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }} JARVIS_DATADOG_SITE: datadoghq.com @@ -208,7 +208,7 @@ jobs: uses: Typeform/.github/shared-actions/setup-node-with-cache@main with: node-version: ${{ inputs.node-version }} - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} package-manager: ${{ inputs.package-manager }} - name: Run unit tests @@ -238,7 +238,7 @@ jobs: uses: Typeform/.github/shared-actions/setup-node-with-cache@main with: node-version: ${{ inputs.node-version }} - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} package-manager: ${{ inputs.package-manager }} - name: Setup Playwright @@ -282,7 +282,7 @@ jobs: uses: Typeform/.github/shared-actions/setup-node-with-cache@main with: node-version: ${{ inputs.node-version }} - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} package-manager: ${{ inputs.package-manager }} - name: Download Build Artifacts @@ -295,7 +295,7 @@ jobs: uses: Typeform/.github/shared-actions/setup-jarvis@main with: jarvis-branch: ${{ inputs.jarvis-branch }} - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} package-manager: ${{ inputs.package-manager }} - name: AWS auth @@ -309,7 +309,7 @@ jobs: run: ${{ inputs.deploy-command }} env: DEBUG: jarvis - GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} AWS_ASSETS_BUCKET: ${{ inputs.cdn-bucket }} AWS_CLOUDFRONT_DIST: ${{ inputs.cloudfront-dist }} PUBLIC_CDN_URL: ${{ inputs.cdn-url }}