From 2be18dec6a431ff79c9c12fe9718cfbbc39804f4 Mon Sep 17 00:00:00 2001 From: Trae Yelovich Date: Wed, 4 Sep 2024 11:47:39 -0400 Subject: [PATCH] fix(ci): Adjust permissions for workflows Signed-off-by: Trae Yelovich --- .github/workflows/merge-by-comments.yml | 2 ++ .github/workflows/merge-by-table.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/merge-by-comments.yml b/.github/workflows/merge-by-comments.yml index 87c8e0d89b..5f0a412475 100644 --- a/.github/workflows/merge-by-comments.yml +++ b/.github/workflows/merge-by-comments.yml @@ -7,6 +7,8 @@ jobs: rfr_add_date: name: "Post merge-by date as comment" runs-on: ubuntu-latest + permissions: + pull-requests: write steps: - uses: actions/checkout@v3 - uses: actions/github-script@v7 diff --git a/.github/workflows/merge-by-table.yml b/.github/workflows/merge-by-table.yml index 0933354633..f8a1fd9c15 100644 --- a/.github/workflows/merge-by-table.yml +++ b/.github/workflows/merge-by-table.yml @@ -10,6 +10,8 @@ jobs: rfr_add_date: name: "Build table and notify users" runs-on: ubuntu-latest + permissions: + discussions: write steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v4