summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAlex <aleksandrosansan@gmail.com>2022-09-25 17:18:19 +0200
committerKarl Williamson <khw@cpan.org>2022-09-26 14:28:14 -0600
commit3aa52d6c582c22d02304eaf1038b74f101c3d088 (patch)
treea54da1b92545ed663427df55812a1090237423f2 /.github
parentd794160b2cf5edca401a239a70aadcedfdc869a2 (diff)
downloadperl-3aa52d6c582c22d02304eaf1038b74f101c3d088.tar.gz
build: harden detect-conflicts.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/detect-conflicts.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/detect-conflicts.yml b/.github/workflows/detect-conflicts.yml
index ba81df0b65..2ed745d0ac 100644
--- a/.github/workflows/detect-conflicts.yml
+++ b/.github/workflows/detect-conflicts.yml
@@ -2,8 +2,12 @@ on:
push:
branches:
- blead
+permissions: {}
jobs:
conflicts:
+ permissions:
+ pull-requests: write # to add labels to pull requests
+
runs-on: ubuntu-latest
if: ( github.event.pull_request.head.repo.full_name == 'Perl/perl5' || github.repository == 'Perl/perl5' )
steps: