From b3e0ba4900b1c3e92eef9d49dbc6906ee553054f Mon Sep 17 00:00:00 2001 From: Dhruva Shaw Date: Mon, 16 Jun 2025 00:22:36 +0530 Subject: [PATCH] Potential fix for code scanning alert no. 20: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: Dhruva Shaw --- .github/workflows/prettier-html.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/prettier-html.yml b/.github/workflows/prettier-html.yml index 3dc4326e..eeaaa480 100644 --- a/.github/workflows/prettier-html.yml +++ b/.github/workflows/prettier-html.yml @@ -3,6 +3,9 @@ name: Prettify gh-pages on: workflow_dispatch: +permissions: + contents: write + jobs: format: runs-on: ubuntu-latest