Skip to content

Commit

Permalink
Label PRs for all target branches (bevyengine#2701)
Browse files Browse the repository at this point in the history
# 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))
  • Loading branch information
NiklasEi committed Sep 4, 2021
1 parent ca54478 commit 391d6c6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: PR-Labeler
on:
on:
pull_request_target:
branches:
- main
types:
- opened

Expand All @@ -15,4 +13,3 @@ jobs:
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/label-config.yml
sync-labels: true

0 comments on commit 391d6c6

Please sign in to comment.