Skip to content

Commit 2f409fc

Browse files
authored
chore(ci): use github secrets for nx access token (#2736)
1 parent 6a1c4a3 commit 2f409fc

File tree

5 files changed

+4
-5
lines changed

5 files changed

+4
-5
lines changed

.github/workflows/build-game-bridge.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
runs-on: ubuntu-latest-4-cores
4040
env:
4141
NODE_OPTIONS: --max-old-space-size=14366
42+
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.TS_IMMUTABLE_SDK_NX_TOKEN }}
4243
steps:
4344
- name: Checkout SDK Repository
4445
id: checkout-sdk

.github/workflows/passport-sdk-sample-app-deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
env:
2020
AWS_REGION: us-east-2
21+
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.TS_IMMUTABLE_SDK_NX_TOKEN }}
2122
steps:
2223
- name: configure aws credentials
2324
uses: aws-actions/configure-aws-credentials@67fbcbb121271f7775d2e7715933280b06314838

.github/workflows/publish.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
NODE_OPTIONS: --max-old-space-size=14366
4343
SDK_PUBLISH_SLACK_WEBHOOK: ${{ secrets.SDK_PUBLISH_SLACK_WEBHOOK }}
4444
SDK_PUBLISH_MAJOR_VERSION_ACTORS: ${{ secrets.SDK_PUBLISH_MAJOR_VERSION_ACTORS }}
45+
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.TS_IMMUTABLE_SDK_NX_TOKEN }}
4546
permissions:
4647
id-token: write # ! Required for GitHub Attestations, removing will create a Sev 0 incident !
4748
attestations: write # ! Required for GitHub Attestations, removing will create a Sev 0 incident !

.github/workflows/title-validation.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ on:
1111
permissions:
1212
pull-requests: read
1313

14-
env:
15-
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.TS_IMMUTABLE_SDK_NX_TOKEN }}
16-
1714
jobs:
1815
title-validation:
1916
name: Validate PR title

nx.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,5 @@
9090
}
9191
},
9292
"defaultBase": "main",
93-
"parallel": 8,
94-
"nxCloudAccessToken": "Mzg3ZGY1MWUtYmYyNy00ZmE4LTkyNDAtYjYxZmJmYmE4NWQ3fHJlYWQ="
93+
"parallel": 8
9594
}

0 commit comments

Comments
 (0)