From 0e824005c3c1d2a5409fe14a4c690d0f2907872d Mon Sep 17 00:00:00 2001 From: Ludy Date: Fri, 27 Dec 2024 19:13:31 +0100 Subject: [PATCH] add permissions for `check_properties.yml` (#2564) # Description Please provide a summary of the changes, including relevant motivation and context. Closes #(issue_number) ## Checklist - [x] I have read the [Contribution Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md) - [ ] I have performed a self-review of my own code - [ ] I have attached images of the change if it is UI based - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] If my code has heavily changed functionality I have updated relevant docs on [Stirling-PDFs doc repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/) - [ ] My changes generate no new warnings - [ ] I have read the section [Add New Translation Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md#add-new-translation-tags) (for new translation tags only) --- .github/workflows/check_properties.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/check_properties.yml b/.github/workflows/check_properties.yml index bbfda21b..8de65945 100644 --- a/.github/workflows/check_properties.yml +++ b/.github/workflows/check_properties.yml @@ -12,6 +12,10 @@ jobs: check-files: if: github.event_name == 'pull_request_target' runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + issues: write steps: - name: Harden Runner uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2