File tree Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Expand file tree Collapse file tree 1 file changed +13
-12
lines changed Original file line number Diff line number Diff line change 1- name : 01-CLA-Assistant
2- # # This workflow is used for public repositories
1+ name : CLA validation
32
43on :
5- workflow_dispatch :
6- # issue_comment:
7- # types: [created]
8- # pull_request_target:
9- # types: [opened,closed,synchronize,reopened]
4+ issue_comment :
5+ types : [created]
6+ pull_request_target :
7+ types : [opened, synchronize, reopened]
108
119permissions :
1210 actions : write
13- contents : read # this can be 'read' if the signatures are in remote repository
11+ contents : read
1412 pull-requests : write
1513 statuses : write
1614
1715jobs :
1816 CLAAssistant :
19- runs-on : ubuntu-24.04
17+ runs-on : ubuntu-latest
2018 steps :
2119 - name : Create CLA Assistant Lite bot token
2220 uses : actions/create-github-app-token@v2
2321 id : app-token
2422 with :
25- app-id : ${{ secrets.GH_APP_ID }}
26- private-key : ${{ secrets.GH_APP_PRIVATE_KEY }}
23+ app-id : ${{ secrets.SILABSIN_CLA_BOT_APP_ID }}
24+ private-key : ${{ secrets.SILABSIN_CLA_BOT_APP_PRIVATE_KEY }}
2725 owner : SiliconLabsInternal
2826 repositories : contributor-license-agreements
2927
28+ - name : Mask generated token
29+ run : echo "::add-mask::${{ steps.app-token.outputs.token }}"
30+
3031 - name : " CLA Assistant"
3132 if : ${{ contains(github.event.comment.body, 'I have read the CLA Document and I hereby sign the CLA') }} || github.event_name == 'pull_request_target'
3233 uses : SiliconLabsSoftware/action-cla-assistant@silabs_flavour_v2
4243 remote-organization-name : " SiliconLabsInternal"
4344 remote-repository-name : " contributor-license-agreements"
4445 create-file-commit-message : " Created the CLA database file. CLA Assistant Lite bot created this file."
45- signed-commit-message : " $contributorName has signed the CLA in $owner/$repo#$pullRequestNo"
46+ signed-commit-message : " $contributorName has signed the CLA in $owner/$repo#$pullRequestNo"
You can’t perform that action at this time.
0 commit comments