Skip to content

One self-hosted app for your shows, movies and music.

CLA bot token asks only for what the check uses (#227)

CoderLuiic5208cdccdcd
diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml
index 3adb1e2..bf99d09 100644
--- a/.github/workflows/cla.yml
+++ b/.github/workflows/cla.yml
@@ -46,6 +46,11 @@ jobs:
with:
client-id: ${{ vars.HOLYARRS_BOT_CLIENT_ID }}
private-key: ${{ secrets.HOLYARRS_BOT_PRIVATE_KEY }}
+ # Only what this check uses, however much the app itself may do.
+ permission-contents: write
+ permission-issues: write
+ permission-statuses: write
+ permission-pull-requests: read
- name: Check and record agreements
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0