From 6f04f01c2bb17253f84bdbdecc101496b57c05c2 Mon Sep 17 00:00:00 2001 From: Ludy Date: Thu, 2 Jan 2025 21:21:27 +0100 Subject: [PATCH] changes the permission deploy-pr (#2592) # Description Please provide a summary of the changes, including relevant motivation and context. Closes #(issue_number) ## Checklist - [ ] 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/PR-Demo-Comment.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/PR-Demo-Comment.yml b/.github/workflows/PR-Demo-Comment.yml index 7bc6ba64..6d5a68ff 100644 --- a/.github/workflows/PR-Demo-Comment.yml +++ b/.github/workflows/PR-Demo-Comment.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest permissions: pull-requests: read - issues: write + issues: read if: | github.event.issue.pull_request && ( @@ -74,6 +74,9 @@ jobs: deploy-pr: needs: check-comment runs-on: ubuntu-latest + permissions: + pull-requests: read + issues: write steps: - name: Harden Runner