mirror of
https://git.openwrt.org/project/odhcpd.git
synced 2025-12-20 02:17:45 +08: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> Link: https://github.com/openwrt/odhcpd/pull/325 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
committed by
Álvaro Fernández Rojas
parent
6fbd70c083
commit
63f040e88b
6
.github/workflows/formal.yml
vendored
6
.github/workflows/formal.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user