From 4aa3d8f3ae04a16313320cc389de6cb650763622 Mon Sep 17 00:00:00 2001 From: Wagner Santos <7467450+wagoid@users.noreply.github.com> Date: Mon, 8 Jan 2024 09:18:38 -0300 Subject: [PATCH] docs: add permissions to instructions --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 23b118aa..3b89775f 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,10 @@ Create a github workflow in the `.github` folder, e.g. `.github/workflows/commit name: Lint Commit Messages on: [pull_request] +permissions: + contents: read + pull-requests: read + jobs: commitlint: runs-on: ubuntu-latest @@ -130,6 +134,10 @@ In order to do so, you can use `NODE_PATH` env var to make the action take those name: Lint Commit Messages on: [pull_request] +permissions: + contents: read + pull-requests: read + jobs: commitlint: runs-on: ubuntu-latest