Added explicit GitHub workflows permissions

From OpenRA PR 20435.
This commit is contained in:
penev92 2023-04-05 13:26:50 +03:00 committed by abcdefg30
parent bb5061a35f
commit 50ccec2498
2 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,9 @@ on:
push:
pull_request:
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
linux:
name: Linux (.NET 6.0)

View File

@ -5,6 +5,9 @@ on:
tags:
- '*'
permissions:
contents: write # for release creation (svenstaro/upload-release-action)
jobs:
linux:
name: Linux AppImages