diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index cca61fd..53d4581 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -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 }} diff --git a/cla/README.md b/cla/README.md index 92dd278..cfd5607 100644 --- a/cla/README.md +++ b/cla/README.md @@ -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 }}