ci: fix CLA write permission and greetings input names

- cla.yml granted contents:read, but CLA Assistant commits the signature
  file to the cla-signatures branch in this repo, so GITHUB_TOKEN needs
  contents:write. Under read-only it 403s ('Resource not accessible by
  integration') and a contributor's signature is never recorded even after
  they post the sign comment.
- greetings.yml passed issue-message/pr-message/repo-token (hyphens), but
  actions/first-interaction@v3 uses issue_message/pr_message/repo_token
  (underscores), so the required issue_message was 'not supplied'.
This commit is contained in:
Renn F
2026-06-12 03:13:47 +02:00
parent ec790d18b5
commit b194d1be8e
2 changed files with 8 additions and 4 deletions
+5 -1
View File
@@ -8,7 +8,11 @@ on:
permissions: permissions:
actions: write actions: write
contents: read # write (not read): CLA Assistant commits signatures/version1/cla.json to the
# cla-signatures branch in this repo, so GITHUB_TOKEN needs contents:write.
# With read-only it 403s ("Resource not accessible by integration") and the
# signature is never recorded even after the contributor signs.
contents: write
pull-requests: write pull-requests: write
statuses: write statuses: write
+3 -3
View File
@@ -11,8 +11,8 @@ jobs:
steps: steps:
- uses: actions/first-interaction@v3 - uses: actions/first-interaction@v3
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo_token: ${{ secrets.GITHUB_TOKEN }}
issue-message: | issue_message: |
Thanks for opening your first issue on **RoboCo**! Thanks for opening your first issue on **RoboCo**!
To help us triage quickly, please make sure your report includes: To help us triage quickly, please make sure your report includes:
@@ -27,7 +27,7 @@ jobs:
- **Security vulnerability?** Do **not** open a public issue — please follow [SECURITY.md](../blob/master/SECURITY.md) and use GitHub's private vulnerability reporting. - **Security vulnerability?** Do **not** open a public issue — please follow [SECURITY.md](../blob/master/SECURITY.md) and use GitHub's private vulnerability reporting.
Thanks again — a maintainer will be with you soon. Thanks again — a maintainer will be with you soon.
pr-message: | pr_message: |
Thanks for opening your first pull request on **RoboCo**! Thanks for opening your first pull request on **RoboCo**!
Quick checklist before review (most of these are enforced by CI, but worth a glance): Quick checklist before review (most of these are enforced by CI, but worth a glance):