summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Sapkin2025-11-26 13:38:31 +0000
committerÁlvaro Fernández Rojas2025-12-02 13:49:01 +0000
commite955729c781fa117f45eee99401ae0b059c1ebac (patch)
treed3820674111c722691a12ff954b84a4d3ce0cc6f
parent9557d3e245aa1f05acb44ac03eb9a7d941f8a742 (diff)
downloadodhcp6c-e955729c781fa117f45eee99401ae0b059c1ebac.tar.gz
formal: fix workflow permissions
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 <george@sapk.in> Link: https://github.com/openwrt/odhcp6c/pull/128 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
-rw-r--r--.github/workflows/formal.yml6
1 files changed, 6 insertions, 0 deletions
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