From 947fc0bfeccf46d3f0c5bc9af78890196caec49e Mon Sep 17 00:00:00 2001 From: krisantrobus <55083528+krisantrobus@users.noreply.github.com> Date: Thu, 22 Aug 2024 14:29:30 -0500 Subject: [PATCH] fix(nx): remove access token. Sets via env variables (#4042) * fix(nx): remove access token. Sets via env variables * fix(nx): add nx token for workflows --- .github/workflows/on_pull_request_package_size.yml | 3 +++ .github/workflows/on_pull_request_supabase.yml | 1 + .github/workflows/update_docs_embed.yml | 1 + nx.json | 1 - 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/on_pull_request_package_size.yml b/.github/workflows/on_pull_request_package_size.yml index 8e0377de69..69ed9abebe 100644 --- a/.github/workflows/on_pull_request_package_size.yml +++ b/.github/workflows/on_pull_request_package_size.yml @@ -6,6 +6,9 @@ jobs: package-size: name: Check package sizes runs-on: ubuntu-latest + env: + NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} + steps: - name: Checkout Repo uses: actions/checkout@v4 diff --git a/.github/workflows/on_pull_request_supabase.yml b/.github/workflows/on_pull_request_supabase.yml index b66e0ca7c3..47fcdc2a56 100644 --- a/.github/workflows/on_pull_request_supabase.yml +++ b/.github/workflows/on_pull_request_supabase.yml @@ -12,6 +12,7 @@ jobs: SUPABASE_ACCESS_TOKEN: ${{ secrets.SUPABASE_ACCESS_TOKEN }} SUPABASE_DB_PASSWORD: ${{ secrets.SUPABASE_STAGING_DB_PASSWORD }} SUPABASE_PROJECT_ID: ${{ secrets.SUPABASE_STAGING_PROJECT_ID }} + NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} steps: - name: Checkout Repo diff --git a/.github/workflows/update_docs_embed.yml b/.github/workflows/update_docs_embed.yml index 6ca999afc0..2a490f2d4e 100644 --- a/.github/workflows/update_docs_embed.yml +++ b/.github/workflows/update_docs_embed.yml @@ -22,6 +22,7 @@ jobs: SUPABASE_URL: ${{ secrets.SUPABASE_PRODUCTION_URL }} SUPABASE_KEY: ${{ secrets.SUPABASE_PRODUCTION_KEY }} SUPABASE_DB_PASSWORD: ${{ secrets.SUPABASE_PRODUCTION_DB_PASSWORD }} + NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }} steps: - name: Checkout Repo diff --git a/nx.json b/nx.json index 6966d2fe4e..f4e683aee3 100644 --- a/nx.json +++ b/nx.json @@ -75,6 +75,5 @@ "sharedGlobals": [], "production": ["default"] }, - "nxCloudAccessToken": "MjY0NzIzMDYtMjFkNi00NDVkLWI2NWQtMjZhMzY2MmY1MjY2fHJlYWQ=", "parallel": 10 }