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: pull_request:
branches: [master, main] branches: [master, main]
permissions:
contents: read
packages: read
statuses: write
jobs: jobs:
SuperLinter: SuperLinter:
uses: ivuorinen/.github/.github/workflows/pr-lint.yml@main uses: ivuorinen/.github/.github/workflows/pr-lint.yml@main

View File

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

View File

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

View File

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