From 06b532f2da528931fbd90fda8ba37b07ca54e1e3 Mon Sep 17 00:00:00 2001 From: Moritz Date: Fri, 4 Aug 2023 15:00:48 +0200 Subject: [PATCH] Add permissions to workflows (#694) --- .github/workflows/health.yaml | 2 ++ .github/workflows/post_summaries.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/health.yaml b/.github/workflows/health.yaml index 51b72275..55cba5a1 100644 --- a/.github/workflows/health.yaml +++ b/.github/workflows/health.yaml @@ -8,3 +8,5 @@ jobs: uses: dart-lang/ecosystem/.github/workflows/health.yaml@main with: coverage_web: true + permissions: + pull-requests: write diff --git a/.github/workflows/post_summaries.yaml b/.github/workflows/post_summaries.yaml index 5f25b678..68969bbc 100644 --- a/.github/workflows/post_summaries.yaml +++ b/.github/workflows/post_summaries.yaml @@ -11,3 +11,5 @@ on: jobs: upload: uses: dart-lang/ecosystem/.github/workflows/post_summaries.yaml@main + permissions: + pull-requests: write