Skip to content

Commit ea9e39d

Browse files
fix: give cla workflow pull request write permissions (#15820)
When #15349 was added, it implicitly set all the other permissions to none. From https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/controlling-permissions-for-github_token > If you specify the access for any of these permissions, all of those that are not specified are set to none.
1 parent 426b348 commit ea9e39d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/contrib.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141

4242
cla:
4343
runs-on: ubuntu-latest
44+
permissions:
45+
pull-requests: write
4446
steps:
4547
- name: Harden Runner
4648
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2

0 commit comments

Comments
 (0)