From 0e7c428a9cfa362714dc83fa6803dea0f6605646 Mon Sep 17 00:00:00 2001 From: byrongamatos Date: Wed, 17 Jun 2026 00:57:25 +0200 Subject: [PATCH] ci: rename the cross-repo token secret to FEEDBACK_CLONE_TOKEN Drop the stale slopsmith-era name now that everything lives under the got-feedback org. Same secret, used for both the authenticated private clones (GH_CLONE_TOKEN) and the VERSION-sync dispatch. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/build.yml | 8 ++++---- .github/workflows/nightly.yml | 4 ++-- .github/workflows/release.yml | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dc0dfa5..7ff500c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -149,7 +149,7 @@ jobs: SLOPSMITH_REF: ${{ inputs.slopsmith_ref || 'main' }} # PAT with read access to the private got-feedback repos so # build-common.sh can clone core + the bundled plugins. - GH_CLONE_TOKEN: ${{ secrets.SLOPSMITH_SYNC_TOKEN }} + GH_CLONE_TOKEN: ${{ secrets.FEEDBACK_CLONE_TOKEN }} APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }} APPLE_ID: ${{ secrets.APPLE_ID }} APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }} @@ -538,7 +538,7 @@ jobs: make_latest: ${{ (contains(github.ref_name, '-alpha.') || contains(github.ref_name, '-beta.') || contains(github.ref_name, '-rc.')) && 'false' || 'true' }} # Mirror release version to slopsmith core - # Requires SLOPSMITH_SYNC_TOKEN secret + # Requires FEEDBACK_CLONE_TOKEN secret notify-slopsmith: needs: release if: startsWith(github.ref, 'refs/tags/v') @@ -548,7 +548,7 @@ jobs: steps: - name: Dispatch VERSION sync to slopsmith env: - GH_TOKEN: ${{ secrets.SLOPSMITH_SYNC_TOKEN }} + GH_TOKEN: ${{ secrets.FEEDBACK_CLONE_TOKEN }} REF_NAME: ${{ github.ref_name }} run: | version="${REF_NAME#v}" @@ -557,7 +557,7 @@ jobs: exit 0 fi if [ -z "${GH_TOKEN:-}" ]; then - echo "::error::SLOPSMITH_SYNC_TOKEN secret is missing; cannot dispatch." + echo "::error::FEEDBACK_CLONE_TOKEN secret is missing; cannot dispatch." exit 1 fi gh api -X POST repos/got-feedback/feedback/dispatches \ diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 3da39f2..164db5e 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -43,7 +43,7 @@ jobs: steps: - name: Clone core at active branch env: - GH_CLONE_TOKEN: ${{ secrets.SLOPSMITH_SYNC_TOKEN }} + GH_CLONE_TOKEN: ${{ secrets.FEEDBACK_CLONE_TOKEN }} run: | git clone --depth 1 --branch "${{ needs.setup.outputs.branch }}" \ "https://x-access-token:${GH_CLONE_TOKEN}@github.com/got-feedback/feedback.git" core @@ -149,7 +149,7 @@ jobs: env: # PAT with read access to the private got-feedback repos so # build-common.sh can clone core + the bundled plugins. - GH_CLONE_TOKEN: ${{ secrets.SLOPSMITH_SYNC_TOKEN }} + GH_CLONE_TOKEN: ${{ secrets.FEEDBACK_CLONE_TOKEN }} APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }} # No notarization for nightlies — testers use xattr -dr com.apple.quarantine CSC_FOR_PULL_REQUEST: "true" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 20b09f9..92b8c18 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -84,7 +84,7 @@ jobs: env: # PAT with read access to the private got-feedback repos so # build-common.sh can clone core + the bundled plugins. - GH_CLONE_TOKEN: ${{ secrets.SLOPSMITH_SYNC_TOKEN }} + GH_CLONE_TOKEN: ${{ secrets.FEEDBACK_CLONE_TOKEN }} APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }} APPLE_ID: ${{ secrets.APPLE_ID }} APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }} @@ -277,7 +277,7 @@ jobs: steps: - name: Dispatch VERSION sync to slopsmith env: - GH_TOKEN: ${{ secrets.SLOPSMITH_SYNC_TOKEN }} + GH_TOKEN: ${{ secrets.FEEDBACK_CLONE_TOKEN }} REF_NAME: ${{ github.ref_name }} run: | version="${REF_NAME#v}" @@ -286,7 +286,7 @@ jobs: exit 0 fi if [ -z "${GH_TOKEN:-}" ]; then - echo "::error::SLOPSMITH_SYNC_TOKEN secret is missing; cannot dispatch." + echo "::error::FEEDBACK_CLONE_TOKEN secret is missing; cannot dispatch." exit 1 fi gh api -X POST repos/got-feedback/feedback/dispatches \