|
6 | 6 | types: [opened, closed, synchronize] |
7 | 7 |
|
8 | 8 | jobs: |
9 | | - ContributorLicenseAgreement: |
10 | | - runs-on: ubuntu-latest |
11 | | - steps: |
12 | | - - name: "CLA Assistant" |
13 | | - 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' |
14 | | - uses: cla-assistant/[email protected] |
15 | | - env: |
16 | | - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
17 | | - PERSONAL_ACCESS_TOKEN: ${{ secrets.PAT_CLATOOL }} |
18 | | - with: |
19 | | - path-to-signatures: "signatures/version1/cla.json" |
20 | | - path-to-document: "https://github.com/splunk/cla-agreement/blob/main/CLA.md" |
21 | | - branch: "main" |
22 | | - allowlist: dependabot[bot] |
23 | | - remote-organization-name: splunk |
24 | | - remote-repository-name: cla-agreement |
25 | | - CodeOfConduct: |
26 | | - runs-on: ubuntu-latest |
27 | | - steps: |
28 | | - - name: "COC Assistant" |
29 | | - if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the Code of Conduct and I hereby accept the Terms') || github.event_name == 'pull_request_target' |
30 | | - uses: cla-assistant/[email protected] |
31 | | - env: |
32 | | - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
33 | | - PERSONAL_ACCESS_TOKEN: ${{ secrets.PAT_CLATOOL }} |
34 | | - with: |
35 | | - path-to-signatures: "signatures/version1/coc.json" |
36 | | - path-to-document: "https://github.com/splunk/cla-agreement/blob/main/CODE_OF_CONDUCT.md" |
37 | | - branch: "main" |
38 | | - allowlist: dependabot[bot] |
39 | | - remote-organization-name: splunk |
40 | | - remote-repository-name: cla-agreement |
41 | | - custom-pr-sign-comment: "I have read the Code of Conduct and I hereby accept the Terms" |
42 | | - create-file-commit-message: "For example: Creating file for storing COC Signatures" |
43 | | - signed-commit-message: "$contributorName has signed the COC in #$pullRequestNo" |
44 | | - custom-notsigned-prcomment: "All contributors have NOT signed the COC Document" |
45 | | - custom-allsigned-prcomment: "****CLA Assistant Lite bot**** All contributors have signed the COC ✍️ ✅" |
| 9 | + call-workflow-agreements: |
| 10 | + uses: arys-splunk/github-workflows-reuse/.github/workflows/agreements.yml@main |
| 11 | + secrets: |
| 12 | + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 13 | + PERSONAL_ACCESS_TOKEN: ${{ secrets.PAT_CLATOOL }} |
0 commit comments