1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-04-19 16:31:31 +01:00

Tighten action permissions (#30361)

This commit is contained in:
Bram Kragten
2026-03-26 16:45:34 +01:00
committed by GitHub
parent 2da3efb812
commit 0645484258
14 changed files with 88 additions and 16 deletions

View File

@@ -7,6 +7,10 @@ on:
# The branches below must be a subset of the branches above
branches: [dev]
permissions:
contents: read
security-events: write
jobs:
analyze:
name: Analyze
@@ -28,6 +32,7 @@ jobs:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
persist-credentials: false
# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.