summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAlex <aleksandrosansan@gmail.com>2022-10-08 11:13:34 +0300
committerGitHub <noreply@github.com>2022-10-08 10:13:34 +0200
commitc66dbddfbaa374a6954897809574ee9fb463e393 (patch)
tree6d1ad78bd38f9bf8c1029bd0004339ba99a13c15 /.github
parent531ffaa7cdc58c5df2abe505803394dbd5293602 (diff)
downloadcpython-git-c66dbddfbaa374a6954897809574ee9fb463e393.tar.gz
GitHub Workflows security hardening (#96492)
* Update project-updater.yml Signed-off-by: sashashura <93376818+sashashura@users.noreply.github.com> * Update project-updater.yml repository-projects: write is not needed because a separate secrets.ADD_TO_PROJECT_PAT is used Signed-off-by: sashashura <93376818+sashashura@users.noreply.github.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/project-updater.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/project-updater.yml b/.github/workflows/project-updater.yml
index 77e55ed019..99c7a05ae8 100644
--- a/.github/workflows/project-updater.yml
+++ b/.github/workflows/project-updater.yml
@@ -6,6 +6,9 @@ on:
- opened
- labeled
+permissions:
+ contents: read
+
jobs:
add-to-project:
name: Add issues to projects