From 227107a405895c4d2b43e5bd42437e6a34bb8336 Mon Sep 17 00:00:00 2001 From: "Jonathan Gonzalez V." Date: Thu, 3 Jul 2025 11:00:41 +0200 Subject: [PATCH] chore: add specific permissions to workflows Signed-off-by: Jonathan Gonzalez V. --- .github/workflows/hugo_build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/hugo_build.yml b/.github/workflows/hugo_build.yml index 979029cbd..f9d272878 100644 --- a/.github/workflows/hugo_build.yml +++ b/.github/workflows/hugo_build.yml @@ -9,13 +9,16 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: +permissions: read-all + # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: # This workflow contains a single job called "build" build: # The type of runner that the job will run on runs-on: ubuntu-latest - + permissions: + contents: write # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it