Skip to content

Commit 3982b99

Browse files
author
Grigori Fursin
committed
fixing cla check
1 parent a9959de commit 3982b99

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/cla.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,26 @@ on:
44
issue_comment:
55
types: [created]
66
pull_request_target:
7-
types: [opened,closed,synchronize]
7+
types: [opened,closed,synchronize]
88

99
jobs:
1010
cla-check:
11+
if: github.repository_owner == 'mlcommons'
1112
runs-on: ubuntu-latest
1213
steps:
1314
- name: "MLCommons CLA bot check"
14-
if: github.repository_owner == 'mlcommons' && ((github.event.comment.body == 'recheck') || github.event_name == 'pull_request_target')
15+
if: (github.event.comment.body == 'recheck') || github.event_name == 'pull_request_target'
1516
# Alpha Release
1617
uses: mlcommons/cla-bot@master
1718
env:
1819
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1920
# the below token should have repo scope and must be manually added by you in the repository's secret
20-
PERSONAL_ACCESS_TOKEN: ${{ secrets.MLCOMMONS_BOT_CLA_TOKEN }}
21+
PERSONAL_ACCESS_TOKEN : ${{ secrets.MLCOMMONS_BOT_CLA_TOKEN }}
2122
with:
2223
path-to-signatures: 'cla-bot/v1/cla.json'
2324
# branch should not be protected
2425
branch: 'main'
25-
allowlist: user1,bot*
26+
allowlist: user1,mlcommons-bot,bot*
2627
remote-organization-name: mlcommons
2728
remote-repository-name: systems
2829

0 commit comments

Comments
 (0)