Added explicit GitHub workflows permissions
From OpenRA PR 20435.
This commit is contained in:
parent
bb5061a35f
commit
50ccec2498
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@ -4,6 +4,9 @@ on:
|
|||||||
push:
|
push:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read # to fetch code (actions/checkout)
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
linux:
|
linux:
|
||||||
name: Linux (.NET 6.0)
|
name: Linux (.NET 6.0)
|
||||||
|
|||||||
3
.github/workflows/packaging.yml
vendored
3
.github/workflows/packaging.yml
vendored
@ -5,6 +5,9 @@ on:
|
|||||||
tags:
|
tags:
|
||||||
- '*'
|
- '*'
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write # for release creation (svenstaro/upload-release-action)
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
linux:
|
linux:
|
||||||
name: Linux AppImages
|
name: Linux AppImages
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user