CI security hardening: restrict permissions in stale workflow (#163049)

This commit is contained in:
Franck Nijhof
2026-02-15 11:21:46 +01:00
committed by GitHub
parent 2208d7e92c
commit 71e9d54105

View File

@@ -6,10 +6,15 @@ on:
- cron: "0 * * * *"
workflow_dispatch:
permissions: {}
jobs:
stale:
if: github.repository_owner == 'home-assistant'
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
# The 60 day stale policy for PRs
# Used for: