projects
/
openwrt
/
staging
/
xback.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1aee2f5
)
formal: fix workflow permissions
author
George Sapkin
<
[email protected]
>
Tue, 25 Nov 2025 12:10:50 +0000
(14:10 +0200)
committer
Robert Marko
<
[email protected]
>
Sat, 29 Nov 2025 17:05:53 +0000
(18:05 +0100)
Fix formality check permissions that are needed to post optional
summaries back to the PR.
Link:
https://github.com/openwrt/actions-shared-workflows/pull/64
Signed-off-by: George Sapkin <
[email protected]
>
Link:
https://github.com/openwrt/openwrt/pull/20930
Signed-off-by: Robert Marko <
[email protected]
>
.github/workflows/formal.yml
patch
|
blob
|
history
diff --git
a/.github/workflows/formal.yml
b/.github/workflows/formal.yml
index 081129d6f0e21b6d7a501e8d32d5813f935f0428..d57b17a562bdfb8156be4afd980ebba78b02f949 100644
(file)
--- 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