build: harden GitHub workflow permissions
authorAlex Low <aleksandrosansan@gmail.com>
Mon, 19 Sep 2022 10:20:37 +0000 (12:20 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Mon, 19 Sep 2022 13:02:27 +0000 (15:02 +0200)
commit715259940776843d8799bc39de8eb50eb764189b
treec1335df0ea5bb357ac2c91ab90157873acff8686
parent412fcf3d4400f84551f3ead0514834c62d94a251
build: harden GitHub workflow permissions

Grant pull-requests write permission to the labeler workflow and
read-only to everything else.

Signed-off-by: Alex Low <aleksandrosansan@gmail.com>
[ wrap to 80 columns and fix wrong author as requested by author itself ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
.github/workflows/formal.yml
.github/workflows/kernel.yml
.github/workflows/labeler.yml
.github/workflows/tools.yml