mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-12-20 02:18:37 +00:00
Fix permissions for the lock workflow (#3982)
Unlike Core this repo has stricter default policy for actions. Explicitly enable permissions for scope the lock workflow needs.
This commit is contained in:
5
.github/workflows/lock.yml
vendored
5
.github/workflows/lock.yml
vendored
@@ -4,6 +4,11 @@ on:
|
|||||||
schedule:
|
schedule:
|
||||||
- cron: "0 * * * *"
|
- cron: "0 * * * *"
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
discussions: write
|
||||||
|
issues: write
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lock:
|
lock:
|
||||||
if: github.repository_owner == 'home-assistant'
|
if: github.repository_owner == 'home-assistant'
|
||||||
|
|||||||
Reference in New Issue
Block a user