1
0
Fork 0
mirror of https://github.com/NixOS/nix.dev.git synced 2024-10-18 14:32:43 -04:00
nix.dev/.github/workflows/cla.yml

25 lines
904 B
YAML
Raw Normal View History

name: "CLA Assistant"
on:
issue_comment:
types: [created]
2021-04-07 05:40:08 -04:00
pull_request_target:
types: [opened,closed,synchronize]
2021-04-07 05:40:08 -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'
uses: cla-assistant/github-action@v2.2.1
2021-04-07 05:40:08 -04:00
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2021-04-07 05:40:08 -04:00
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
with:
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'
# 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*
2022-09-28 14:43:43 -04:00
lock-pullrequest-aftermerge: false