Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions .github/workflows/frontend-deploy-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_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.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_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.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }}
TURBO_SCM_BASE: ${{ inputs.turbo-scm-base }}

- name: Clean dist directory
Expand All @@ -365,7 +365,7 @@ jobs:
run: ${{ inputs.build-command }}
env:
PUBLIC_CDN_URL: ${{ inputs.cdn-url }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_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 }}
Expand Down Expand Up @@ -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.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_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.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_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.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }}
TURBO_SCM_BASE: ${{ inputs.turbo-scm-base }}

- name: Run unit tests
run: ${{ inputs.unit-test-command }}
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }}
TURBO_SCM_BASE: ${{ inputs.turbo-scm-base }}

- name: Upload coverage
Expand Down Expand Up @@ -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.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_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.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }}
package-manager: ${{ inputs.package-manager }}

- name: Setup Playwright
Expand All @@ -508,7 +508,7 @@ jobs:
if: inputs.pre-test-command != ''
run: ${{ inputs.pre-test-command }}
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }}
TURBO_SCM_BASE: ${{ inputs.turbo-scm-base }}

- name: Download Build Artifacts
Expand All @@ -520,7 +520,7 @@ jobs:
- name: Run integration tests
run: ${{ inputs.integration-test-command }}
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }}
TURBO_SCM_BASE: ${{ inputs.turbo-scm-base }}
VRT_APIURL: ${{ secrets.VRT_APIURL }}
VRT_APIKEY: ${{ secrets.VRT_APIKEY }}
Expand Down Expand Up @@ -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.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }}
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
package-manager: ${{ inputs.package-manager }}

Expand Down Expand Up @@ -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.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }}
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
VRT_APIURL: ${{ secrets.VRT_APIURL }}
VRT_APIKEY: ${{ secrets.VRT_APIKEY }}
Expand Down Expand Up @@ -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.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }}
VRT_APIURL: ${{ secrets.VRT_APIURL }}
VRT_APIKEY: ${{ secrets.VRT_APIKEY }}
VRT_PROJECT: ${{ secrets.VRT_PROJECT }}
Expand Down Expand Up @@ -666,7 +666,7 @@ jobs:
- name: Check out Git repository
uses: actions/checkout@v6
with:
token: ${{ secrets.GH_TOKEN }}
token: ${{ secrets.JENKINS_PAT_TOKEN }}
fetch-depth: 0

- name: Configure Git
Expand All @@ -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.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }}
package-manager: ${{ inputs.package-manager }}

- name: Download Build Artifacts
Expand All @@ -694,7 +694,7 @@ jobs:
uses: Typeform/.github/shared-actions/setup-jarvis@v1
with:
jarvis-branch: ${{ inputs.jarvis-branch }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }}
package-manager: ${{ inputs.package-manager }}

- name: AWS auth
Expand All @@ -720,7 +720,7 @@ jobs:
# Jarvis debug logging
DEBUG: jarvis
# GitHub
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }}
TURBO_SCM_BASE: ${{ inputs.turbo-scm-base }}
# AWS configuration
AWS_REGION: ${{ inputs.aws-region }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/frontend-library-pr-release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
uses: Typeform/.github/shared-actions/setup-node-with-cache@main
with:
node-version: ${{ inputs.node-version }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }}

- name: Run linters
run: ${{ inputs.lint-command }}
Expand All @@ -122,8 +122,8 @@ jobs:
contains(fromJSON(inputs.semantic-release-branches), github.ref_name)
run: ${{ inputs.semantic-release-command }}
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }}
NPM_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }}

# SonarCloud Scan — REMOVED (SonarCloud has been decommissioned).
# The `run-sonarcloud`, `sonar-project-key` inputs and `SONAR_CLOUD_TOKEN`
Expand Down
40 changes: 20 additions & 20 deletions .github/workflows/frontend-pr-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_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.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }}
package-manager: ${{ inputs.package-manager }}

# Runs before linting AND build so that generated files (e.g. GraphQL
Expand All @@ -344,7 +344,7 @@ jobs:
if: inputs.pre-build-command != ''
run: ${{ inputs.pre-build-command }}
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }}
TURBO_SCM_BASE: ${{ inputs.turbo-scm-base }}

- name: Run linting
Expand All @@ -360,7 +360,7 @@ jobs:
run: ${{ inputs.build-command }}
env:
PUBLIC_CDN_URL: ${{ inputs.cdn-url }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_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 }}
Expand Down Expand Up @@ -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.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_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.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_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.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }}
TURBO_SCM_BASE: ${{ inputs.turbo-scm-base }}

- name: Run unit tests
run: ${{ inputs.unit-test-command }}
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }}
TURBO_SCM_BASE: ${{ inputs.turbo-scm-base }}

- name: Upload coverage
Expand Down Expand Up @@ -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.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_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.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_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.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }}
TURBO_SCM_BASE: ${{ inputs.turbo-scm-base }}

- name: Setup Playwright
Expand All @@ -482,7 +482,7 @@ jobs:
- name: Run integration tests
run: ${{ inputs.integration-test-command }}
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }}
TURBO_SCM_BASE: ${{ inputs.turbo-scm-base }}
VRT_APIURL: ${{ secrets.VRT_APIURL }}
VRT_APIKEY: ${{ secrets.VRT_APIKEY }}
Expand Down Expand Up @@ -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.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }}
package-manager: ${{ inputs.package-manager }}

- name: Download Build Artifacts
Expand All @@ -533,7 +533,7 @@ jobs:
uses: Typeform/.github/shared-actions/setup-jarvis@v1
with:
jarvis-branch: ${{ inputs.jarvis-branch }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }}
package-manager: ${{ inputs.package-manager }}

- name: AWS auth
Expand All @@ -556,7 +556,7 @@ jobs:
${{ inputs.deploy-command }}
env:
DEBUG: jarvis
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }}
TURBO_SCM_BASE: ${{ inputs.turbo-scm-base }}
AWS_ASSETS_BUCKET: ${{ inputs.cdn-bucket }}
AWS_CLOUDFRONT_DIST: ${{ inputs.cloudfront-dist }}
Expand Down Expand Up @@ -595,7 +595,7 @@ jobs:
contents: read
uses: Typeform/.github/.github/workflows/graphql-generate-persisted-operations.yml@v1
secrets:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }}

# Job 7: Deep Purple E2E Tests
deep-purple:
Expand Down Expand Up @@ -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.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }}
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
package-manager: ${{ inputs.package-manager }}

Expand Down Expand Up @@ -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.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }}
VRT_APIURL: ${{ secrets.VRT_APIURL }}
VRT_APIKEY: ${{ secrets.VRT_APIKEY }}
VRT_PROJECT: ${{ secrets.VRT_PROJECT }}
Expand Down Expand Up @@ -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.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }}
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
VRT_APIURL: ${{ secrets.VRT_APIURL }}
VRT_APIKEY: ${{ secrets.VRT_APIKEY }}
Expand Down Expand Up @@ -727,7 +727,7 @@ jobs:
- name: Check out Git repository
uses: actions/checkout@v6
with:
token: ${{ secrets.GH_TOKEN }}
token: ${{ secrets.JENKINS_PAT_TOKEN }}

- name: Push tree-hash marker
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/go-lint-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.GH_TOKEN }}
token: ${{ secrets.JENKINS_PAT_TOKEN }}

- name: Configure git for private modules
env:
TOKEN: ${{ secrets.GH_TOKEN }}
TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }}
run: |
git config --global url."https://${TOKEN}:x-oauth-basic@github.com/".insteadOf "https://github.com/"
export GOPRIVATE=github.com/Typeform/*
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/graphql-generate-persisted-operations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
update-allow-list:
runs-on: ["${{ inputs.runner }}"]
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.JENKINS_PAT_TOKEN }}
GRAPHQL_ENDPOINTS: |
https://graphqlbff.staging.internal.tfdev.typeform.tf
https://graphqlbff.tfprod.internal.typeform.tf
Expand All @@ -53,7 +53,7 @@ jobs:

- name: Set GitHub packages registry
run: |
npm config set '//npm.pkg.github.com/:_authToken' ${{ secrets.GH_TOKEN }}
npm config set '//npm.pkg.github.com/:_authToken' ${{ secrets.JENKINS_PAT_TOKEN }}
npm config set @typeform:registry https://npm.pkg.github.com/

- name: Check if GraphQL endpoints are reachable
Expand Down
Loading