Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/label-pull-requests.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
name: Label Pull Requests

on:
pull_request_target:
pull_request:

# Only the labels on the pull request change. Nothing from the pull request is checked out or run.
# Only the labels on the pull request change. The token can't write on a pull request from a fork,
# so those skip this job and get their label by hand.
permissions:
contents: read
pull-requests: write

jobs:
label:
name: Label
if: github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
steps:
- name: Label
Expand Down
Loading