Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
fix(cla): grant token permissions + store signatures on unprotected branch
Jose Ramirezca8b4dba31af
diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.ymlindex 1a5134137..25bd79096 100644--- a/.github/workflows/cla.yml+++ b/.github/workflows/cla.yml@@ -4,6 +4,16 @@ on:types: [created]pull_request_target:types: [opened, synchronize]++# The CLA Assistant needs to write the signatures file, post/update the PR+# comment, and set the commit status. The repo default GITHUB_TOKEN is+# read-only, so grant the required scopes explicitly (least-privilege).+permissions:+ actions: write+ contents: write+ pull-requests: write+ statuses: write+jobs:cla:runs-on: ubuntu-latest@@ -11,8 +21,12 @@ jobs:- uses: contributor-assistant/[email protected]env:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}- PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_PAT }}with:path-to-signatures: 'signatures/cla.json'path-to-document: 'https://github.com/evenfire-ai/evenfire/blob/main/CLA.md'- branch: 'main'+ # Store signatures on a dedicated UNPROTECTED branch. `main` is+ # branch-protected, so GITHUB_TOKEN cannot push the signatures file+ # there ("Make sure the branch where signatures are stored is NOT+ # protected"). A PERSONAL_ACCESS_TOKEN is only needed if signatures+ # live in another repo — not our case.+ branch: 'cla-signatures'