summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJoyce <joycebrum@google.com>2023-02-27 17:27:54 -0300
committerGitHub <noreply@github.com>2023-02-27 17:27:54 -0300
commit79a150e77737fb70f30ae25847cb482ae06614ce (patch)
tree2561f4943a9638d7dd39b394a68d5ef4159854a8 /.github
parentf52f758a6a600e1f2b82787df63ce4d5472d178d (diff)
downloadnumpy-79a150e77737fb70f30ae25847cb482ae06614ce.tar.gz
chore: reduce scope of write permission
Signed-off-by: Joyce <joycebrum@google.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/labeler.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
index df5bda8f5..e2d47a0df 100644
--- a/.github/workflows/labeler.yml
+++ b/.github/workflows/labeler.yml
@@ -3,12 +3,13 @@ on:
pull_request_target:
types: [opened]
-permissions:
- pull-requests: write # to add labels
+permissions: {}
jobs:
pr-labeler:
runs-on: ubuntu-latest
+ permissions:
+ pull-requests: write # to add labels
steps:
- name: Label the PR
uses: gerrymanoim/pr-prefix-labeler@v3