Skip to content

🤖 Update infrastructure file(s) #1219

🤖 Update infrastructure file(s)

🤖 Update infrastructure file(s) #1219

Workflow file for this run

name: CLA
on:
issue_comment:
types:
- created
pull_request_target:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.issue.number || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
jobs:
check:
name: Check CLA
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-slim
permissions:
contents: read
pull-requests: write # Required to update labels and comments on pull requests.
statuses: write # Required to publish the CLA commit status.
steps:
- name: Check CLA
uses: conda/actions/check-cla@7f6830b1428a9bd47f0b068892c77eae95207037 # v26.1.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 }}