From cad82dc5cb65d7250dc998c5fd15c15187ba48ea Mon Sep 17 00:00:00 2001 From: George Sapkin Date: Wed, 26 Nov 2025 15:34:18 +0200 Subject: [PATCH] formal: fix workflow permissions MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fix formality check permissions that are needed to post optional summaries back to the PR. Link: openwrt/actions-shared-workflows#64 Signed-off-by: George Sapkin Link: https://github.com/openwrt/omcproxy/pull/21 Signed-off-by: Álvaro Fernández Rojas --- .github/workflows/formal.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/formal.yml b/.github/workflows/formal.yml index 081129d..d57b17a 100644 --- a/.github/workflows/formal.yml +++ b/.github/workflows/formal.yml @@ -5,8 +5,14 @@ on: permissions: contents: read + pull-requests: write jobs: build: name: Test Formalities uses: openwrt/actions-shared-workflows/.github/workflows/formal.yml@main + # with: + # # Post formality check summaries to the PR. + # # Repo's permissions need to be updated for actions to modify PRs: + # # https://docs.github.com/en/rest/issues/comments?apiVersion=2022-11-28#create-an-issue-comment + # post_comment: true -- 2.30.2