summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/pull-request-labels.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/pull-request-labels.yml b/.github/workflows/pull-request-labels.yml
index 629a54a49..778daae30 100644
--- a/.github/workflows/pull-request-labels.yml
+++ b/.github/workflows/pull-request-labels.yml
@@ -2,7 +2,7 @@
name: Add pull request labels
on:
- pull_request:
+ pull_request_target:
branches:
- current
- crux
@@ -13,5 +13,8 @@ jobs:
add-pr-label:
name: Add PR Labels
runs-on: ubuntu-20.04
+ permissions:
+ contents: read
+ pull-requests: write
steps:
- uses: actions/labeler@v5.0.0-alpha.1