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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user