BED-5922 Update CLA Assistant #555
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "CLA Assistant" | |
on: | |
issue_comment: | |
types: [created, edited] | |
jobs: | |
CLAssistant: | |
runs-on: ubuntu-latest | |
steps: | |
# Trigger the CLA assistant check when someone comments the specified text. | |
# The intent is to comment `@cla-pls` on PRs from external contributors to initiate the CLA check. | |
# The other strings that trigger the action are used in normal operation of the `contributor-assistant` action. | |
- name: "CLA Assistant" | |
if: github.event.issue.pull_request && (github.event.comment.body == '@cla-pls' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA' || github.event.comment.body == 'recheck') | |
uses: contributor-assistant/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
PERSONAL_ACCESS_TOKEN: ${{ secrets.REPO_SCOPE }} | |
with: | |
path-to-signatures: "signatures.json" | |
path-to-document: "https://github.com/SpecterOps/CLA/blob/main/ICLA.md" | |
branch: "main" | |
remote-organization-name: SpecterOps | |
remote-repository-name: CLA | |