Skip to content

Commit a66e180

Browse files
committed
Add permissions block to CLA caller workflow
Reusable workflows inherit permissions from the caller, so the caller must declare them. Without this the workflow fails with a silent "workflow file issue" error.
1 parent b55ce74 commit a66e180

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/cla.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
pull_request_target:
66
types: [opened, closed, synchronize]
77

8+
permissions:
9+
pull-requests: write
10+
statuses: write
11+
812
jobs:
913
cla:
1014
uses: blacklanternsecurity/.github/.github/workflows/cla-reusable.yml@main

0 commit comments

Comments
 (0)