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>
Sun, 4 Dec 2022 16:36:57 +0000 (17:36 +0100)
commit303b784cc81c864bb53447684efed596e2ff5b16
tree2c097e59733fbc23b0393260c231ea303d8c8666
parentb3e8d5815183370f3c529754dad78a3ac22db465
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/kernel.yml
.github/workflows/labeler.yml
.github/workflows/tools.yml