mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-02-18 12:51:26 -05:00
Merge pull request #2594 from FunkinCrew/language-labels
add simple PR auto labelling action
This commit is contained in:
commit
1326dcdc97
2 changed files with 26 additions and 0 deletions
12
.github/labeler.yml
vendored
Normal file
12
.github/labeler.yml
vendored
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
# Add Documentation tag to PR's changing markdown files, or anyhting in the docs folder
|
||||||
|
Documentation:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file:
|
||||||
|
- any-glob-to-any-file:
|
||||||
|
- docs/*
|
||||||
|
- '**/*.md'
|
||||||
|
|
||||||
|
# Adds Haxe tag to PR's changing haxe code files
|
||||||
|
Haxe:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file: '**/*.hx'
|
14
.github/workflows/labeler.yml
vendored
Normal file
14
.github/workflows/labeler.yml
vendored
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
name: "Pull Request Labeler"
|
||||||
|
on:
|
||||||
|
- pull_request_target
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
labeler:
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pull-requests: write
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/labeler@v5
|
||||||
|
with:
|
||||||
|
sync-labels: true
|
Loading…
Reference in a new issue