From 4688dd73c5341e5f891abf288c606804c8d9a454 Mon Sep 17 00:00:00 2001 From: HarithaVattikuti <73516759+HarithaVattikuti@users.noreply.github.com> Date: Thu, 16 Jan 2025 08:46:27 -0600 Subject: [PATCH] Add permission section (#15) --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index a3449f5..a8f887e 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,15 @@ basic-validation-call: with: enable-audit: false ``` +## Recommended permissions +When using the `reusable-workflows` in your GitHub Actions workflow, it is recommended to set the following permissions to ensure proper functionality: + +```yaml +permissions: + contents: read # access to read repository's content + actions: read # access to reading actions +``` ## License The scripts and documentation in this project are released under the [MIT License](LICENSE.txt)