Label PRs for all target branches (#2701)

# Objective

- All new PRs should get the "S-Needs-Triage" label. But at the moment we for example are getting quite a few PRs to the new renderer branch that do not get the label.

## Solution

- Remove the required target "main" from the workflow
- Also removed configuration for not needed functionality of the labeler action (see [docs](https://github.com/actions/labeler#inputs))
This commit is contained in:
Niklas Eicker 2021-09-04 19:05:23 +00:00
parent ca54478569
commit 391d6c6cb2

View file

@ -1,8 +1,6 @@
name: PR-Labeler name: PR-Labeler
on: on:
pull_request_target: pull_request_target:
branches:
- main
types: types:
- opened - opened
@ -15,4 +13,3 @@ jobs:
with: with:
repo-token: "${{ secrets.GITHUB_TOKEN }}" repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/label-config.yml configuration-path: .github/label-config.yml
sync-labels: true