mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-06 15:27:28 +00:00
[CI] Add github PR labeler (#97)
* Add labeler * Run on prs * Add move labeling
This commit is contained in:
parent
8468c2b821
commit
2eb1d12b3d
2 changed files with 31 additions and 0 deletions
14
.github/labeler.yml
vendored
Normal file
14
.github/labeler.yml
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
ci:
|
||||
- .github/workflows/**
|
||||
- .actrc
|
||||
- .pre-commit-config.yaml
|
||||
|
||||
protocol:
|
||||
- src/protocols/**
|
||||
|
||||
games:
|
||||
- src/games/**
|
||||
|
||||
crate:
|
||||
- Cargo.toml
|
||||
- Cargo.lock
|
||||
17
.github/workflows/labeler.yml
vendored
Normal file
17
.github/workflows/labeler.yml
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
name: "Pull Request Labeler"
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
jobs:
|
||||
triage:
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/labeler@v4
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
dot: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue