mirror of
https://github.com/esphome/esphome.git
synced 2026-09-30 16:30:22 +00:00
[ci] Tighten workflow permissions to least-privilege (#16349)
This commit is contained in:
@@ -9,8 +9,8 @@ on:
|
||||
types: [labeled]
|
||||
|
||||
permissions:
|
||||
issues: write
|
||||
contents: read
|
||||
issues: write # issues.createComment to mention component codeowners on the newly labelled issue
|
||||
contents: read # repos.getContent to fetch CODEOWNERS from the default branch
|
||||
|
||||
jobs:
|
||||
notify-codeowners:
|
||||
|
||||
Reference in New Issue
Block a user