mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 11:25:42 +00:00
fix(Action): Labeler (#3579)
This commit is contained in:
20
.github/workflows/labeler.yml
vendored
20
.github/workflows/labeler.yml
vendored
@@ -1,16 +1,12 @@
|
||||
# Workflow to associate labels automatically
|
||||
name: labeler
|
||||
# Trigger the workflow on pull request events
|
||||
name: "Pull Request Labeler"
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
label:
|
||||
triage:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
# We need to checkout the repository to access the configured file (.github/label-pr.yml)
|
||||
- uses: actions/checkout@v2
|
||||
- name: Labeler
|
||||
uses: docker://decathlon/pull-request-labeler-action:2.0.0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# Here we can override the path for the action configuration. If none is provided, default one is `.github/label-pr.yml`
|
||||
CONFIG_PATH: ${{ secrets.GITHUB_WORKSPACE }}/.github/label-pr.yml
|
||||
- uses: actions/labeler@main
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
configuration-path: .github/labeler.yml
|
||||
sync-labels: true
|
||||
|
||||
Reference in New Issue
Block a user