diff options
Diffstat (limited to '.github/workflows/labeler.yml')
-rw-r--r-- | .github/workflows/labeler.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000..35766df --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,24 @@ +--- +# vi: ts=2 sw=2 et: +# SPDX-License-Identifier: LGPL-2.1-or-later +# +name: "Pull Request Labeler" + +on: +- pull_request_target + +permissions: + contents: read + +jobs: + triage: + if: github.event.repository.name != 'systemd-security' + runs-on: ubuntu-latest + permissions: + pull-requests: write + steps: + - uses: actions/labeler@e54e5b338fbd6e6cdb5d60f51c22335fc57c401e + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + configuration-path: .github/labeler.yml + sync-labels: "" # This is a workaround for issue 18671 |