2021-01-30 05:41:31 +01:00
|
|
|
name: "Label PR"
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request_target:
|
2021-04-02 22:06:00 +02:00
|
|
|
types: [edited, opened, synchronize, reopened]
|
2021-01-30 05:41:31 +01:00
|
|
|
|
2021-04-24 19:05:17 +02:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
pull-requests: write
|
|
|
|
|
2021-01-30 05:41:31 +01:00
|
|
|
jobs:
|
|
|
|
labels:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
if: github.repository_owner == 'NixOS'
|
|
|
|
steps:
|
|
|
|
- uses: actions/labeler@v3
|
|
|
|
with:
|
|
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
sync-labels: true
|