build: harden GitHub workflow permissions
authorAlex Low <aleksandrosansan@gmail.com>
Mon, 19 Sep 2022 10:20:37 +0000 (12:20 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 27 Nov 2022 16:39:36 +0000 (17:39 +0100)
commit008e9a335dc32c4662aa56eb67487ddd777f2147
tree8cee15215434a7c035bd950999be8471bf82b858
parentc7757810fcb598f2177c20f1bca1d3de3aaad276
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>
(cherry picked from commit 715259940776843d8799bc39de8eb50eb764189b)
.github/workflows/formal.yml
.github/workflows/labeler.yml
.github/workflows/tools.yml