Skip to content

Commit

Permalink
Merge pull request #22894 from mattip/labeller-update
Browse files Browse the repository at this point in the history
MAINT: change labeler
  • Loading branch information
seberg committed Dec 27, 2022
2 parents 8a0966e + 85b0d3d commit fe2c2a4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
name: "Pull Request Labeler"
on:
pull_request_target:
types: [created]
types: [opened]

permissions: {}
contents: write # to add labels
permissions:
pull-requests: write # to add labels

jobs:
label_pull_request by the PR label:
pr-labeler:
runs-on: ubuntu-latest
steps:
- name: Label the PR
uses: gerrymanoim/pr-prefix-labeler@v3
continue-on-error: true
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: github.repository == 'numpy/numpy'

0 comments on commit fe2c2a4

Please sign in to comment.