Skip to content

Commit 429698c

Browse files
committed
remove workflow_dispatch and update safter condition
1 parent b97a3d0 commit 429698c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/01-CLA-Assistant.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: 01-CLA-Assistant
22
## This workflow is used for public repositories
33

44
on:
5-
workflow_dispatch:
65
issue_comment:
76
types: [created]
87
pull_request_target:
@@ -28,7 +27,7 @@ jobs:
2827
repositories: contributor-license-agreements
2928

3029
- name: "CLA Assistant"
31-
if: ${{ contains(github.event.comment.body, 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target' }}
30+
if: ${{ github.event_name == 'pull_request_target' || (github.event_name == 'issue_comment' && contains(github.event.comment.body, 'I have read the CLA Document and I hereby sign the CLA')) }}
3231
uses: SiliconLabsSoftware/action-cla-assistant@silabs_flavour_v2
3332
env:
3433
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)