-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
322 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: CLA | ||
|
||
on: | ||
issue_comment: | ||
types: | ||
- created | ||
pull_request_target: | ||
|
||
jobs: | ||
check: | ||
if: >- | ||
!github.event.repository.fork | ||
&& ( | ||
github.event.issue.pull_request | ||
&& github.event.comment.body == '@conda-bot check' | ||
|| github.event_name == 'pull_request_target' | ||
) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check CLA | ||
uses: conda/actions/check-cla@15f883f14f4232f83658e3609c3316d58905138f # v24.8.0 | ||
with: | ||
# [required] | ||
# A token with ability to comment, label, and modify the commit status | ||
# (`pull_request: write` and `statuses: write` for fine-grained PAT; `repo` for classic PAT) | ||
# (default: secrets.GITHUB_TOKEN) | ||
token: ${{ secrets.CLA_ACTION_TOKEN }} | ||
# [required] | ||
# Label to apply to contributor's PR once CLA is signed | ||
label: cla-signed | ||
|
||
# [required] | ||
# Token for opening signee PR in the provided `cla_repo` | ||
# (`pull_request: write` for fine-grained PAT; `repo` and `workflow` for classic PAT) | ||
cla_token: ${{ secrets.CLA_FORK_TOKEN }} |
This file contains 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
Oops, something went wrong.