From 7e1dc83f3081dd4585294ca7857aa7849333684d Mon Sep 17 00:00:00 2001 From: HarithaVattikuti <73516759+HarithaVattikuti@users.noreply.github.com> Date: Thu, 16 Jan 2025 08:36:04 -0600 Subject: [PATCH] Add permission section --- 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)