Update cla.yaml (#184)

Update to the latest release and remove unnecessary permission when using a remote repository.
This commit is contained in:
kubi 2024-05-06 20:50:15 -07:00 committed by GitHub
parent f17ac6ffac
commit 3feb9d2304
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,7 +7,7 @@ on:
permissions:
actions: write
contents: write
contents: read
pull-requests: write
statuses: write
@ -17,7 +17,7 @@ jobs:
steps:
- name: "CLA Assistant"
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
uses: contributor-assistant/github-action@v2.3.0
uses: contributor-assistant/github-action@v2.4.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}