From d8b913449e1f736bbc11eecda9c1b70a65214949 Mon Sep 17 00:00:00 2001 From: ckohen Date: Fri, 31 Oct 2025 04:21:42 -0700 Subject: [PATCH] ci: refactor turbo team to use var (#11219) Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- .github/workflows/documentation.yml | 4 ++-- .github/workflows/publish-dev.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/tests.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index b359056fd..6933d7c46 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -33,7 +33,7 @@ jobs: runs-on: ubuntu-latest env: TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} - TURBO_TEAM: ${{ secrets.TURBO_TEAM }} + TURBO_TEAM: ${{ vars.TURBO_TEAM }} REF_TYPE: ${{ inputs.ref_type || github.ref_type }} if: github.repository_owner == 'discordjs' steps: @@ -209,7 +209,7 @@ jobs: runs-on: ubuntu-latest env: TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} - TURBO_TEAM: ${{ secrets.TURBO_TEAM }} + TURBO_TEAM: ${{ vars.TURBO_TEAM }} if: github.repository_owner == 'discordjs' steps: - name: Checkout repository diff --git a/.github/workflows/publish-dev.yml b/.github/workflows/publish-dev.yml index ff169c30d..cec63e4b3 100644 --- a/.github/workflows/publish-dev.yml +++ b/.github/workflows/publish-dev.yml @@ -24,7 +24,7 @@ jobs: id-token: write env: TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} - TURBO_TEAM: ${{ secrets.TURBO_TEAM }} + TURBO_TEAM: ${{ vars.TURBO_TEAM }} if: github.repository_owner == 'discordjs' steps: - uses: actions/create-github-app-token@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b2f08e927..deb469988 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,7 +44,7 @@ jobs: id-token: write env: TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} - TURBO_TEAM: ${{ secrets.TURBO_TEAM }} + TURBO_TEAM: ${{ vars.TURBO_TEAM }} if: github.repository_owner == 'discordjs' steps: - uses: actions/create-github-app-token@v2 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f415e6862..dba44c6c7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest env: TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} - TURBO_TEAM: ${{ secrets.TURBO_TEAM }} + TURBO_TEAM: ${{ vars.TURBO_TEAM }} steps: - name: Checkout repository uses: actions/checkout@v5