mirror of
https://git.openwrt.org/project/luci.git
synced 2025-12-20 08:49:59 +08:00
formal: post formality check comments to PRs
Enable posting formality check comments and warn if 'Allow edits and access to secrets by maintainers' is not checked. Signed-off-by: George Sapkin <george@sapk.in>
This commit is contained in:
committed by
Paul Donald
parent
6b45572ea4
commit
a0531c7822
9
.github/workflows/formal.yml
vendored
9
.github/workflows/formal.yml
vendored
@@ -1,7 +1,7 @@
|
|||||||
name: Test Formalities
|
name: Test Formalities
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request_target:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
@@ -13,8 +13,5 @@ jobs:
|
|||||||
uses: openwrt/actions-shared-workflows/.github/workflows/formal.yml@main
|
uses: openwrt/actions-shared-workflows/.github/workflows/formal.yml@main
|
||||||
with:
|
with:
|
||||||
exclude_weblate: true
|
exclude_weblate: true
|
||||||
# # Post formality check summaries to the PR.
|
post_comment: true
|
||||||
# # Repo's permissions need to be updated for actions to modify PRs:
|
warn_on_no_modify: true
|
||||||
# # https://docs.github.com/en/rest/issues/comments?apiVersion=2022-11-28#create-an-issue-comment
|
|
||||||
# post_comment: true
|
|
||||||
# warn_on_no_modify: true
|
|
||||||
|
|||||||
Reference in New Issue
Block a user