From 8296615a0d8e2760e5d35f3ec1bda505ea048399 Mon Sep 17 00:00:00 2001 From: Nikolai Madlener <33159293+NikolaiMadlener@users.noreply.github.com> Date: Fri, 10 May 2024 14:04:29 -0700 Subject: [PATCH] =?UTF-8?q?Update=20eslint.yml=20with=20contents=20read=20?= =?UTF-8?q?permissions=20for=20private=20reposito=E2=80=A6=20(#66)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # Update eslint action permissions ## :recycle: Current situation & Problem For private repositories, the eslint action currently does not work as `contents: read` permissions are required for this. ### Code of Conduct & Contributing Guidelines By submitting creating this pull request, you agree to follow our [Code of Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md) and [Contributing Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md): - [x] I agree to follow the [Code of Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md) and [Contributing Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md). Signed-off-by: Nikolai Madlener <33159293+NikolaiMadlener@users.noreply.github.com> --- .github/workflows/eslint.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 3a90e51..a8a46f3 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -19,6 +19,7 @@ on: permissions: checks: write + contents: read jobs: eslint: