From 933aacb90a1da96f82e18f9749f0962b3e106c44 Mon Sep 17 00:00:00 2001 From: HarithaVattikuti <73516759+HarithaVattikuti@users.noreply.github.com> Date: Thu, 16 Jan 2025 08:45:16 -0600 Subject: [PATCH] Add permission section (#84) --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index b224ad7..03dfa9a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,15 @@ # Common tools for generation of packages in the actions/*-versions repositories This repository contains PowerShell modules that are used to generate packages for Actions. The packages are consumed by the images generated through [actions/runner-images](https://github.com/actions/runner-images) and some of the setup-* Actions +## Recommended permissions + +When using the `versions-package-tools` 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 +``` + ## Contribution Contributions are welcome! See [Contributor's Guide](./CONTRIBUTING.md) for more details about contribution process and code structure