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
2 changes: 1 addition & 1 deletion .github/workflows/audience-bundle-size.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
pull-requests: write # post sticky bundle-size comment
contents: read
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.TS_IMMUTABLE_SDK_NX_TOKEN }}
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.TS_IMMUTABLE_SDK_NX_TOKEN_READ_ONLY }}
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-game-bridge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
attestations: write # Required for GitHub Attestations
env:
NODE_OPTIONS: --max-old-space-size=14366
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.TS_IMMUTABLE_SDK_NX_TOKEN }}
NX_CLOUD_ACCESS_TOKEN: ${{ github.ref == 'refs/heads/main' && secrets.TS_IMMUTABLE_SDK_NX_TOKEN || secrets.TS_IMMUTABLE_SDK_NX_TOKEN_READ_ONLY }}
steps:
- name: Checkout SDK Repository
id: checkout-sdk
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/passport-sample-app-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
contents: read
env:
AWS_REGION: us-east-2
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.TS_IMMUTABLE_SDK_NX_TOKEN }}
NX_CLOUD_ACCESS_TOKEN: ${{ github.ref == 'refs/heads/main' && secrets.TS_IMMUTABLE_SDK_NX_TOKEN || secrets.TS_IMMUTABLE_SDK_NX_TOKEN_READ_ONLY }}
steps:
- name: configure aws credentials
uses: aws-actions/configure-aws-credentials@d979d5b3a71173a29b74b5b88418bfda9437d885 # pin@v6.1.1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pixel-bundle-size.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
pull-requests: write # post sticky bundle-size comment
contents: read
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.TS_IMMUTABLE_SDK_NX_TOKEN }}
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.TS_IMMUTABLE_SDK_NX_TOKEN_READ_ONLY }}
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
permissions:
contents: read
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.TS_IMMUTABLE_SDK_NX_TOKEN }}
NX_CLOUD_ACCESS_TOKEN: ${{ (github.event_name == 'merge_group' || (github.event_name == 'push' && github.ref == 'refs/heads/main')) && secrets.TS_IMMUTABLE_SDK_NX_TOKEN || secrets.TS_IMMUTABLE_SDK_NX_TOKEN_READ_ONLY }}
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # pin@v6.0.2
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
permissions:
contents: read
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.TS_IMMUTABLE_SDK_NX_TOKEN }}
NX_CLOUD_ACCESS_TOKEN: ${{ (github.event_name == 'merge_group' || (github.event_name == 'push' && github.ref == 'refs/heads/main')) && secrets.TS_IMMUTABLE_SDK_NX_TOKEN || secrets.TS_IMMUTABLE_SDK_NX_TOKEN_READ_ONLY }}
steps:
- name: Skip functional tests
if: needs.should-run-functional-tests.outputs.should-run != 'true'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
contents: write # Required for git tag push and GitHub release creation
env:
NODE_OPTIONS: --max-old-space-size=14366
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.TS_IMMUTABLE_SDK_NX_TOKEN }}
NX_CLOUD_ACCESS_TOKEN: ${{ github.ref == 'refs/heads/main' && secrets.TS_IMMUTABLE_SDK_NX_TOKEN || secrets.TS_IMMUTABLE_SDK_NX_TOKEN_READ_ONLY }}
steps:
- name: Check Public Release Branch
if: ${{ !startsWith(env.RELEASE_TYPE, 'pre') && github.ref != 'refs/heads/main' }}
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:

- name: Build SDK, Checkout Widgets & Audience
shell: bash
run: pnpm build
run: pnpm build --skip-nx-cache

- name: Pack SDK, Checkout Widgets & Audience packages and dependencies
shell: bash
Expand Down
Loading