mirror of
https://github.com/esphome/esphome.git
synced 2026-05-27 11:56:11 +08:00
[CI] Don't run label workflow on closed/merged PRs (#15678)
This commit is contained in:
@@ -20,7 +20,7 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
label:
|
label:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.event.action != 'labeled' || github.event.sender.type != 'Bot'
|
if: github.event.pull_request.state == 'open' && (github.event.action != 'labeled' || github.event.sender.type != 'Bot')
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||||
|
|||||||
Reference in New Issue
Block a user