summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Sapkin2025-11-26 13:34:57 +0000
committerJiri Slachta2025-12-03 12:04:54 +0000
commit08e2bd12362bc7822caec2120be386cca5b99b5a (patch)
tree26b2e29b0b8c047208de4eb981135a5df9039097
parent6e2a8b34c5c3c69a17442898eb7cbd4d4d090769 (diff)
downloadtelephony-08e2bd12362bc7822caec2120be386cca5b99b5a.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>
-rw-r--r--.github/workflows/formal.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/formal.yml b/.github/workflows/formal.yml
index 081129d..3fa417f 100644
--- a/.github/workflows/formal.yml
+++ b/.github/workflows/formal.yml
@@ -5,8 +5,14 @@ on:
permissions:
contents: read
+ pull-requests: write
jobs:
- build:
+ formalities:
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