Skip to content

Commit 84eaa08

Browse files
lis0x90lis
authored andcommitted
"chore: update CLA workflow"
1 parent 950e366 commit 84eaa08

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/cla.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
name: CLA Assistant
3+
on:
4+
issue_comment:
5+
types: [created]
6+
pull_request_target:
7+
types: [opened, closed, synchronize]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
CLAAssistant:
14+
permissions:
15+
actions: write
16+
contents: write
17+
pull-requests: write
18+
statuses: write
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: "CLA Assistant"
22+
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'
23+
uses: contributor-assistant/[email protected]
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_ACCESS_TOKEN }}
27+
with:
28+
path-to-signatures: 'signatures/version1/cla.json'
29+
path-to-document: 'https://github.com/Netcracker/qubership-github-workflows/blob/main/CLA/cla.md'
30+
# branch should not be protected
31+
branch: 'main'
32+
allowlist: NetcrackerCLPLCI,web-flow,bot*
33+
remote-repository-name: cla-storage
34+
remote-organization-name: Netcracker

0 commit comments

Comments
 (0)