tools: add GitHub token permissions to label flaky-test issues

Signed-off-by: Gabriela Gutierrez <gabigutierrez@google.com>
PR-URL: https://github.com/nodejs/node/pull/45308
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Gabriela Gutierrez authored and Danielle Adams committed 2023-01-03 08:39:10 -05:00
1 parent 048795dab0
commit aa57f6c362
1 file changed
+3
@@ -4,6 +4,9 @@ on:
issues:
types: [opened, labeled]
permissions:
contents: read
jobs:
label:
if: github.event.label.name == 'flaky-test'