1
0
mirror of https://github.com/home-assistant/core.git synced 2026-05-08 17:49:37 +01:00

CI security hardening: restrict permissions in lock workflow (#163050)

This commit is contained in:
Franck Nijhof
2026-02-15 11:22:06 +01:00
committed by GitHub
parent 71e9d54105
commit 755a3f82d4
+5
View File
@@ -5,10 +5,15 @@ on:
schedule:
- cron: "0 * * * *"
permissions: {}
jobs:
lock:
if: github.repository_owner == 'home-assistant'
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: dessant/lock-threads@7266a7ce5c1df01b1c6db85bf8cd86c737dadbe7 # v6.0.0
with: