From 9957c2165b3ad77b5bb7ade518f838d617321fde Mon Sep 17 00:00:00 2001 From: Varun Sharma Date: Thu, 19 May 2022 21:41:44 -0700 Subject: [PATCH] ci: add GitHub token permissions --- .github/workflows/semantic.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/semantic.yml b/.github/workflows/semantic.yml index 11d62c9d62855..6158b510bb03b 100644 --- a/.github/workflows/semantic.yml +++ b/.github/workflows/semantic.yml @@ -7,8 +7,14 @@ on: - edited - synchronize +permissions: + contents: read + jobs: main: + permissions: + pull-requests: read # for amannn/action-semantic-pull-request to analyze PRs + statuses: write # for amannn/action-semantic-pull-request to mark status of analyzed PR name: Validate PR Title runs-on: ubuntu-latest steps: