2020-06-12 08:32:24 -04:00
name : "CLA Assistant"
on :
issue_comment :
types : [ created]
2021-04-07 05:40:08 -04:00
pull_request_target :
2020-06-12 08:32:24 -04:00
types : [ opened,closed,synchronize]
2021-04-07 05:40:08 -04:00
2020-06-12 08:32:24 -04:00
jobs :
CLAssistant :
runs-on : ubuntu-latest
steps :
- name : "CLA Assistant"
2021-04-07 05:40:08 -04:00
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'
2021-05-16 20:08:15 -04:00
uses : cla-assistant/github-action@v2.1.3-beta
2021-04-07 05:40:08 -04:00
env :
2020-06-12 08:32:24 -04:00
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2021-04-07 05:40:08 -04:00
PERSONAL_ACCESS_TOKEN : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
with :
2020-06-12 08:32:24 -04:00
path-to-signatures : 'cla/signatures.json'
2021-04-07 05:40:08 -04:00
path-to-document : 'https://github.com/nix-dot-dev/nix.dev/blob/master/cla/README.md'
2020-06-12 08:32:24 -04:00
# branch should not be protected
2020-06-13 06:55:58 -04:00
branch : 'master'
2021-04-07 05:40:08 -04:00
allowlist : imgbot,dependabot*