mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-07 05:04:00 -05:00
formal: fix workflow permissions
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 <george@sapk.in>
Link: https://github.com/openwrt/openwrt/pull/20930
(cherry picked from commit 9f6c16e722)
Link: https://github.com/openwrt/openwrt/pull/20986
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
913e26b20f
commit
e781816fe1
6
.github/workflows/formal.yml
vendored
6
.github/workflows/formal.yml
vendored
@ -5,8 +5,14 @@ on:
|
|||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Test Formalities
|
name: Test Formalities
|
||||||
uses: openwrt/actions-shared-workflows/.github/workflows/formal.yml@main
|
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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user