From 43a233a413bd302477c5f3eb8cc77c84eb5b38f8 Mon Sep 17 00:00:00 2001 From: Emilien Escalle Date: Tue, 2 Apr 2024 10:44:30 +0200 Subject: [PATCH] ci: fix workflow permissions Signed-off-by: Emilien Escalle --- .github/workflows/greetings.yml | 2 ++ .github/workflows/need-fix-to-issue.yml | 1 + .github/workflows/semantic-pull-request.yml | 3 ++- .github/workflows/stale.yml | 3 ++- 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index f71e499..c86ac38 100644 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -8,6 +8,8 @@ on: permissions: contents: read + issues: write + pull-requests: write jobs: greetings: diff --git a/.github/workflows/need-fix-to-issue.yml b/.github/workflows/need-fix-to-issue.yml index 6f78208..a10328f 100644 --- a/.github/workflows/need-fix-to-issue.yml +++ b/.github/workflows/need-fix-to-issue.yml @@ -17,6 +17,7 @@ on: permissions: contents: read + issues: write jobs: main: diff --git a/.github/workflows/semantic-pull-request.yml b/.github/workflows/semantic-pull-request.yml index 22f9d68..db91c6c 100644 --- a/.github/workflows/semantic-pull-request.yml +++ b/.github/workflows/semantic-pull-request.yml @@ -8,7 +8,8 @@ on: - synchronize permissions: - contents: read + contents: write + pull-requests: write jobs: main: diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 1570850..26f4fd1 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -5,7 +5,8 @@ on: - cron: "30 1 * * *" permissions: - contents: read + issues: write + pull-requests: write jobs: main: