From 09d1e4cf21f87029c14e4843aa4f1a6499be4ea7 Mon Sep 17 00:00:00 2001 From: "Ignacio J. Perez Portal" <5990@protonmail.com> Date: Wed, 24 Apr 2024 23:29:14 -0300 Subject: [PATCH] fix(CICD): Added write permissions to the readme auto-updater workflow Prevents the error 'remote: Permission to USERNAME/SecLists.git denied to github-actions[bot].' when the action is run automatically from a seclists fork that has the default github-actions security settings --- .github/workflows/readme-updater.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/readme-updater.yml b/.github/workflows/readme-updater.yml index b280572f..bb50fae4 100644 --- a/.github/workflows/readme-updater.yml +++ b/.github/workflows/readme-updater.yml @@ -10,6 +10,8 @@ jobs: update-readme: runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Clone repository