mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-10 09:32:29 +01:00
Update default permissions for pull requests (#25224)
Update permissions for actions for #25211 . It needs to be done this way and *not* via token, because pull requests have no access to secrets. The default branch dictates what kind of access the default actions token has (constrained by repo config in https://github.com/OpenRCT2/OpenRCT2/settings/actions)
This commit is contained in:
committed by
GitHub
parent
db5f56f4aa
commit
7f5a56e047
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -130,6 +130,9 @@ jobs:
|
|||||||
name: Check code formatting
|
name: Check code formatting
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: openrct2/openrct2-build:24-format
|
container: openrct2/openrct2-build:24-format
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
|
contents: read
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: sh
|
shell: sh
|
||||||
|
|||||||
Reference in New Issue
Block a user