Skip to content

Commit

Permalink
ci: add labeler
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris committed Jan 15, 2023
1 parent 8077f26 commit 76c292f
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
cicd:
- .github/workflows/*
- renovate.json

dependencies:
- .nvmrc
- package.json
- package-lock.json
- go.mod
- go.sum

documentation:
- README.md
- CONTRIBUTING.md
3 changes: 2 additions & 1 deletion .github/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ changelog:
categories:
- title: "What's Changed"
labels:
- '*'
- "*"
exclude:
labels:
- "renovate"
- title: "Dependencies"
labels:
- "renovate"
- "dependencies"
16 changes: 16 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: "Pull Request Labeler"

on:
pull_request_target:

jobs:
triage:
runs-on: ubuntu-22.04
timeout-minutes: 1
permissions:
pull-requests: write
steps:
# https://github.com/actions/labeler
- uses: actions/[email protected]
with:
repo-token: ${{ github.token }}

0 comments on commit 76c292f

Please sign in to comment.