@@ -3,12 +3,11 @@ name: CLA validation
33on :
44 issue_comment :
55 types : [created]
6- pull_request_target :
7- types : [opened, synchronize, reopened]
6+ pull_request :
87
98permissions :
109 actions : write
11- contents : read
10+ contents : read
1211 pull-requests : write
1312 statuses : write
1413
@@ -20,16 +19,16 @@ jobs:
2019 uses : actions/create-github-app-token@v2
2120 id : app-token
2221 with :
23- app-id : ${{ secrets.SILABSIN_CLA_BOT_APP_ID }}
24- private-key : ${{ secrets.SILABSIN_CLA_BOT_APP_PRIVATE_KEY }}
22+ app-id : ${{ secrets.GH_APP_ID }}
23+ private-key : ${{ secrets.GH_APP_PRIVATE_KEY }}
2524 owner : SiliconLabsInternal
2625 repositories : contributor-license-agreements
2726
2827 - name : Mask generated token
2928 run : echo "::add-mask::${{ steps.app-token.outputs.token }}"
3029
3130 - name : " CLA Assistant"
32- if : ${{ contains(github.event.comment.body, 'I have read the CLA Document and I hereby sign the CLA') }} || github.event_name == 'pull_request_target '
31+ if : ${{ contains(github.event.comment.body, 'I have read the CLA Document and I hereby sign the CLA') }} || github.event_name == 'pull_request '
3332 uses : SiliconLabsSoftware/action-cla-assistant@silabs_flavour_v2
3433 env :
3534 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4342 remote-organization-name : " SiliconLabsInternal"
4443 remote-repository-name : " contributor-license-agreements"
4544 create-file-commit-message : " Created the CLA database file. CLA Assistant Lite bot created this file."
46- signed-commit-message : " $contributorName has signed the CLA in $owner/$repo#$pullRequestNo"
45+ signed-commit-message : " $contributorName has signed the CLA in $owner/$repo#$pullRequestNo"
0 commit comments