1
0
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:
Michał Janiszewski
2025-09-22 22:54:12 +02:00
committed by GitHub
parent db5f56f4aa
commit 7f5a56e047

View File

@@ -130,6 +130,9 @@ jobs:
name: Check code formatting
runs-on: ubuntu-latest
container: openrct2/openrct2-build:24-format
permissions:
pull-requests: write
contents: read
defaults:
run:
shell: sh