Skip to content

Zigbee: new temp sensor min/max APIs, defaults for vendor/product name #213

Zigbee: new temp sensor min/max APIs, defaults for vendor/product name

Zigbee: new temp sensor min/max APIs, defaults for vendor/product name #213

Workflow file for this run

name: CLA Assistant

Check warning on line 1 in .github/workflows/cla_assistant.yml

View workflow run for this annotation

GitHub Actions / CLA Assistant

Workflow execution policy warning (evaluate mode)

On November 2, 2026, GitHub will restrict `pull_request_target` on public repositories by default. To continue allowing the event trigger, configure an Actions policy. Learn more: https://gh.io/securely-using-pull_request_target#default-policy-for-pull_request_target
on:
issue_comment:
types: [created]
pull_request_target:
types: [opened, closed, synchronize, reopened]
permissions:
actions: write
contents: read # this can be 'read' if the signatures are in remote repository
pull-requests: write
statuses: write
jobs:
cla_assistant:
if: >-
github.event_name == 'pull_request_target' ||
(github.event_name == 'issue_comment' &&
github.event.issue.pull_request &&
(github.event.comment.body == 'recheck' ||
contains(github.event.comment.body, 'I have read the CLA Document and I hereby sign the CLA')))
runs-on: ubuntu-24.04
steps:
- name: Create CLA Assistant Lite bot token
uses: actions/create-github-app-token@v2
id: app-token
with:
app-id: ${{ secrets.GH_APP_ID }}
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
owner: SiliconLabsInternal
repositories: contributor-license-agreements
- name: "CLA Assistant"
id: cla
uses: SiliconLabsSoftware/action-cla-assistant@silabs_flavour_v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PERSONAL_ACCESS_TOKEN: ${{ steps.app-token.outputs.token }}
with:
path-to-signatures: "cla_signatures_db.json"
path-to-document: "https://github.com/SiliconLabsSoftware/agreements-and-guidelines/blob/main/contributor_license_agreement.md"
branch: "cla-database"
allowlist: silabs-*,bot*
# the following are the optional inputs - If the optional inputs are not given, then default values will be taken
remote-organization-name: "SiliconLabsInternal"
remote-repository-name: "contributor-license-agreements"
create-file-commit-message: "Created the CLA database file. CLA Assistant Lite bot created this file."
signed-commit-message: "$contributorName has signed the CLA in $owner/$repo#$pullRequestNo"
- name: Add "Waiting for CLA" label
if: failure() && steps.cla.outcome == 'failure' && github.event.action != 'closed'
uses: actions/github-script@v7
with:
script: |
try {
await github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
labels: ['Waiting for CLA']
});
} catch (e) {
core.info(`Label not added: ${e.message}`);
}
- name: Remove "Waiting for CLA" label
if: steps.cla.outcome == 'success' && github.event.action != 'closed'
uses: actions/github-script@v7
with:
script: |
try {
await github.rest.issues.removeLabel({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
name: 'Waiting for CLA'
});
} catch (e) {
core.info(`Label not removed: ${e.message}`);
}