Simplify CLA workflow identity (#811)

This commit is contained in:
Glenn Jocher
2026-07-24 12:45:45 +02:00
parent d7e39be4b4
commit 714e000704
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -20,12 +20,12 @@ permissions:
jobs:
CLA:
if: github.repository == 'ultralytics/actions' && (github.event_name == 'pull_request_target' || (github.event.issue.pull_request && (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I sign the CLA')))
if: github.event_name == 'pull_request_target' || (github.event.issue.pull_request && (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I sign the CLA'))
concurrency:
group: cla-${{ github.event.pull_request.number || github.event.issue.number }}
runs-on: ubuntu-latest
steps:
- name: CLA Assistant
- name: CLA
uses: ultralytics/actions/cla@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
+2 -2
View File
@@ -4,7 +4,7 @@ Checks every pull request commit author against the shared signature ledger in
`ultralytics/cla` and maintains one status comment on the pull request.
```yaml
name: CLA Assistant
name: CLA
on:
issue_comment:
types: [created]
@@ -22,7 +22,7 @@ jobs:
group: cla-${{ github.event.pull_request.number || github.event.issue.number }}
runs-on: ubuntu-latest
steps:
- name: CLA Assistant
- name: CLA
uses: ultralytics/actions/cla@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}