mirror of
https://github.com/freedoom/freedoom.git
synced 2025-09-01 04:25:45 -04:00
Add Github Action: PR labeler (#669)
Adds automatic labeling to pull requests
This commit is contained in:
parent
f8cd97072e
commit
3476f01f64
2 changed files with 35 additions and 0 deletions
18
.github/labeler.yml
vendored
Normal file
18
.github/labeler.yml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
#levels
|
||||
levels:
|
||||
- levels/**/*
|
||||
#sprites
|
||||
sprites:
|
||||
- sprites/**/*
|
||||
#music
|
||||
music:
|
||||
- musics/**/*
|
||||
#sounds:
|
||||
sounds:
|
||||
- sounds/**/*
|
||||
#patches:
|
||||
patches:
|
||||
- patches/**/*
|
||||
#flats:
|
||||
flats:
|
||||
- flats/**/*
|
17
.github/workflows/label.yml
vendored
Normal file
17
.github/workflows/label.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
# This workflow will triage pull requests and apply a label based on the
|
||||
# paths that are modified in the pull request.
|
||||
#
|
||||
# To use this workflow, you will need to set up a .github/labeler.yml
|
||||
# file with configuration. For more information, see:
|
||||
# https://github.com/actions/labeler/blob/master/README.md
|
||||
|
||||
name: Labeler
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
label:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/labeler@v2
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
Loading…
Add table
Add a link
Reference in a new issue