Skip to content

Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.

fix(ci): route CLA signature writes through the CLA App token (CHOO-2389) (#298)

Louis Amaudruz1c003a1ae8cd
diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml
index 0ef166205..a15b7f521 100644
--- a/.github/workflows/cla.yml
+++ b/.github/workflows/cla.yml
@@ -41,6 +41,15 @@ jobs:
PERSONAL_ACCESS_TOKEN: ${{ steps.app-token.outputs.token }}
with:
path-to-signatures: signatures/version1/cla.json
+ # These name this very repository, which looks redundant but is not:
+ # the action only reaches for PERSONAL_ACCESS_TOKEN (the CLA App
+ # token above) to read and write the signature file when a remote
+ # org or repo is set. Left unset, it writes with GITHUB_TOKEN, which
+ # is contents:read here — so signing fails with "Resource not
+ # accessible by integration". Do not remove without also granting
+ # this workflow contents:write.
+ remote-organization-name: sandbox-quantum
+ remote-repository-name: switch
path-to-document: https://github.com/sandbox-quantum/switch/blob/main/CLA.md
branch: main
allowlist: dependabot[bot],renovate[bot],socket-fix[bot]