From 399babed980e5557336cfac98b76d32cbb628644 Mon Sep 17 00:00:00 2001 From: Kendall Gassner Date: Wed, 4 Sep 2024 15:52:46 +0000 Subject: [PATCH] Add permissions to markdownlint workflows --- .github/workflows/ci.yml | 3 +++ .github/workflows/publish.yml | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dadcb6d..224fecb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,7 @@ name: Run linter and tests +permissions: + contents: read + pull-requests: write on: push: branches: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5c1c6eb..30a7590 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,5 +1,7 @@ name: Publish - +permissions: + contents: read + pull-requests: write on: release: types: [created]