Skip to content

Commit

Permalink
chore(ci): pr-labeler
Browse files Browse the repository at this point in the history
  • Loading branch information
hrzlgnm committed Oct 18, 2024
1 parent d38984a commit 34a9917
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/pr-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
enhancement: ["feature/*", "feat/*"]
dependencies: ["renovate/*"]
bug: fix/*
chore :hammer:: chore/*
18 changes: 18 additions & 0 deletions .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: PR Labeler
on:
pull_request:
types: [opened]

permissions:
contents: read

jobs:
pr-labeler:
permissions:
contents: read # for TimonVS/pr-labeler-action to read config file
pull-requests: write # for TimonVS/pr-labeler-action to add labels in PR
runs-on: ubuntu-latest
steps:
- uses: TimonVS/pr-labeler-action@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 34a9917

Please sign in to comment.