generated from Resnovas/workflow-mastermind
-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (31 loc) · 1.14 KB
/
cla.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Contributor License Agreement Management
on:
issue_comment:
types: [created]
pull_request:
types: [opened, synchronize]
# Ensures the CLA is signed
jobs:
CLAssistant:
name: 'CLA Assistant'
runs-on: ubuntu-latest
if: (github.event.comment.body == 'recheckcla' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA' || github.event_name == 'pull_request' )
steps:
- name: Manage Github Secrets
uses: Videndum/[email protected]
with:
settings: ${{ secrets.SETTINGS }}
settingsjson: '.github/allconfigs.json'
mode: 'environment'
token: ${{ secrets.GITHUB_TOKEN }}
- name: CLA Assistant
if: ${{env.cla_enabled}} == true
uses: cla-assistant/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
path-to-signatures: '${{env.cla_path}}'
path-To-cladocument: 'https://github.com/${{github.repository}}/${{env.claDocs}}'
label: ${{env.cla_label}}
whitelist: join(${{env.auto_whitelist}})
continue-on-error: true