mirror of
https://github.com/openwrt/routing.git
synced 2025-12-21 19:14:31 +04:00
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>
This commit is contained in:
committed by
Josef Schlehofer
parent
0bf1ec3c3d
commit
55cacd416d
8
.github/workflows/formal.yml
vendored
8
.github/workflows/formal.yml
vendored
@@ -5,8 +5,14 @@ on:
|
|||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
formalities:
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user