fix(ci): permissions, again

This commit is contained in:
Ismo Vuorinen
2025-01-29 11:30:48 +02:00
parent 91ab1fcaf2
commit 8f8dfdb696
4 changed files with 19 additions and 0 deletions

View File

@@ -9,6 +9,11 @@ on:
pull_request:
branches: [master, main]
permissions:
contents: read
packages: read
statuses: write
jobs:
SuperLinter:
uses: ivuorinen/.github/.github/workflows/pr-lint.yml@main

View File

@@ -5,6 +5,11 @@ name: Release Drafter
on:
workflow_call:
permissions:
contents: write
statuses: write
packages: read
jobs:
Draft:
uses: ivuorinen/.github/.github/workflows/sync-labels.yml@main

View File

@@ -8,6 +8,10 @@ on:
workflow_call:
workflow_dispatch:
permissions:
packages: read
statuses: read
jobs:
stale:
uses: ivuorinen/.github/.github/workflows/stale.yml@main

View File

@@ -14,6 +14,11 @@ on:
workflow_call:
workflow_dispatch:
permissions:
issues: write
contents: read
statuses: read
jobs:
SyncLabels:
uses: ivuorinen/.github/.github/workflows/sync-labels.yml@main