fix(z2m): Resolve AttributeError 'original_name' on DeviceEntry in Zigbee2MQTT provider #295
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| # SPDX-FileCopyrightText: 2026 Andrew Grimberg <tykeal@bardicgrove.org> | |
| # SPDX-License-Identifier: Apache-2.0 | |
| name: 'Autolabeler' | |
| # yamllint disable-line rule:truthy | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| pull_request_target: | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| permissions: {} | |
| concurrency: | |
| # yamllint disable-line rule:line-length | |
| group: ${{ format('al-{0}-pr-{1}', github.event_name, github.event.pull_request.number) }} | |
| cancel-in-progress: true | |
| jobs: | |
| autolabel: | |
| name: 'Autolabel PR' | |
| # Run on pull_request_target for forks, pull_request for | |
| # same-repo PRs to prevent duplicate runs | |
| # yamllint disable rule:line-length | |
| if: > | |
| (github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.fork) || | |
| (github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork) | |
| # yamllint enable rule:line-length | |
| # SECURITY: pull_request_target with write permissions is safe | |
| # here because the autolabeler action does NOT checkout any code | |
| # from the PR — it only reads the PR title/body via GitHub API. | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| runs-on: 'ubuntu-latest' | |
| timeout-minutes: 3 | |
| steps: | |
| # Harden the runner used by this workflow | |
| # yamllint disable-line rule:line-length | |
| - uses: step-security/harden-runner@fe104658747b27e96e4f7e80cd0a94068e53901d # v2.16.1 | |
| with: | |
| egress-policy: 'audit' | |
| # yamllint disable-line rule:line-length | |
| - uses: release-drafter/release-drafter/autolabeler@139054aeaa9adc52ab36ddf67437541f039b88e2 # v7.1.1 |