Skip to content

Commit 3f5afa4

Browse files
JorjMcKiejulian-smith-artifex-com
authored andcommitted
.github/workflows/cla.yml: Re-run CLA Assistant when contributors sign
Trigger cla.yml on new comments and run the action only for PR comments containing the signature text or recheck. Existing CLA checks on pull request events remain unchanged.
1 parent fac856d commit 3f5afa4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/cla.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: "CLA Assistant"
11-
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
11+
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 hereby sign the CLA'))
1212
# Beta Release
1313
uses: contributor-assistant/github-action@v2.4.0
1414
env:

0 commit comments

Comments
 (0)