From 7f5a56e047363881b5436212106056ea20516190 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Mon, 22 Sep 2025 22:54:12 +0200 Subject: [PATCH] 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) --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b39027089f..2991ec90c2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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