Skip to content

Commit

Permalink
ci: add labeler to replace mergify
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacku committed May 3, 2024
1 parent 1ebac43 commit 3d598df
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
configuration:
- changed-files:
- any-glob-to-any-file:
- '**/*.yml'
- Dockerfile
- .shellcheckrc
- Makefile

documentation:
- changed-files:
- any-glob-to-any-file:
- docs/**
- '**/*.md'

source:
- changed-files:
- any-glob-to-any-file: src/**

test:
- changed-files:
- any-glob-to-any-file: test/**
19 changes: 19 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---

name: Pull Request Labeler
on:
pull_request_target:

permissions:
contents: read

jobs:
labeler:
runs-on: ubuntu-latest
permissions:
pull-requests: write

steps:
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 #v5.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3d598df

Please sign in to comment.