From 23d08b9cf709ffa43f0adadd7439d047f664989a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C4=8Cerm=C3=A1k?= Date: Fri, 28 Mar 2025 16:59:27 +0100 Subject: [PATCH] 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. --- .github/workflows/lock.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index 896188ce9..4519846ae 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -4,6 +4,11 @@ on: schedule: - cron: "0 * * * *" +permissions: + discussions: write + issues: write + pull-requests: write + jobs: lock: if: github.repository_owner == 'home-assistant'