Skip to content

Commit 09bc8b8

Browse files
committed
enable CLA
1 parent f861e9b commit 09bc8b8

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,19 @@
1-
name: 01-CLA-Assistant
2-
## This workflow is used for public repositories
1+
name: CLA validation
32

43
on:
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:
107

118
permissions:
129
actions: write
13-
contents: read # this can be 'read' if the signatures are in remote repository
10+
contents: read
1411
pull-requests: write
1512
statuses: write
1613

1714
jobs:
1815
CLAAssistant:
19-
runs-on: ubuntu-24.04
16+
runs-on: ubuntu-latest
2017
steps:
2118
- name: Create CLA Assistant Lite bot token
2219
uses: actions/create-github-app-token@v2
@@ -27,6 +24,9 @@ jobs:
2724
owner: SiliconLabsInternal
2825
repositories: contributor-license-agreements
2926

27+
- name: Mask generated token
28+
run: echo "::add-mask::${{ steps.app-token.outputs.token }}"
29+
3030
- name: "CLA Assistant"
3131
if: ${{ contains(github.event.comment.body, 'I have read the CLA Document and I hereby sign the CLA') }} || github.event_name == 'pull_request_target'
3232
uses: SiliconLabsSoftware/action-cla-assistant@silabs_flavour_v2

0 commit comments

Comments
 (0)