Skip to content

Commit 1de3ddd

Browse files
committed
Add public workflow license header
1 parent 805c21a commit 1de3ddd

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/cla.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1+
# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license
2+
13
# Ultralytics Contributor License Agreement (CLA) action https://docs.ultralytics.com/help/CLA
24
# This workflow automatically requests Pull Requests (PR) authors to sign the Ultralytics CLA before PRs can be merged
35

46
name: CLA Assistant
5-
concurrency:
6-
group: cla-${{ github.event.pull_request.number || github.event.issue.number }}
77
on:
88
issue_comment:
99
types:
@@ -20,12 +20,13 @@ permissions:
2020

2121
jobs:
2222
CLA:
23-
if: github.repository == 'ultralytics/source-trace' && (github.event_name != 'issue_comment' || github.event.issue.pull_request)
23+
if: github.repository == 'ultralytics/source-trace' && (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')))
24+
concurrency:
25+
group: cla-${{ github.event.pull_request.number || github.event.issue.number }}
2426
runs-on: ubuntu-latest
2527
steps:
2628
- name: CLA Assistant
27-
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I sign the CLA') || github.event_name == 'pull_request_target'
28-
uses: ultralytics/actions/cla@43945a7d2364fc943becb0245a4edcb05e49427f
29+
uses: ultralytics/actions/cla@main
2930
with:
3031
github-token: ${{ secrets.GITHUB_TOKEN }}
3132
cla-token: ${{ secrets._GITHUB_TOKEN }}

0 commit comments

Comments
 (0)