Skip to content

Commit

Permalink
Added explicit GitHub workflows permissions
Browse files Browse the repository at this point in the history
From OpenRA PR 20435.
  • Loading branch information
penev92 authored and abcdefg30 committed Jun 11, 2023
1 parent bb5061a commit 50ccec2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
pull_request:

permissions:
contents: read # to fetch code (actions/checkout)

jobs:
linux:
name: Linux (.NET 6.0)
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
tags:
- '*'

permissions:
contents: write # for release creation (svenstaro/upload-release-action)

jobs:
linux:
name: Linux AppImages
Expand Down

0 comments on commit 50ccec2

Please sign in to comment.