Skip to content

Commit

Permalink
chore: add auto labeling to PRs [skip release] (#1025)
Browse files Browse the repository at this point in the history
* chore: add auto labeling to PRs [skip release]

* chore: allow any file type for test label to be added
  • Loading branch information
balazsorban44 committed Feb 1, 2021
1 parent a979e04 commit 5e949a3
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/labeler.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
test:
- test/**/*

documentation:
- www/**/*
- ./**/*.md

providers:
- src/providers/**/*
- www/docs/configuration/providers.md
- test/integration/**/*

adapters:
- src/adapters/**/*
- www/docs/schemas/adapters.md

databases:
- www/docs/schemas/*.md
- test/docker/databases/**/*
- www/docs/configuration/databases.md
- test/fixtures/**/*
12 changes: 12 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: "Pull Request Labeler"
on:
- pull_request_target

jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@main
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true

0 comments on commit 5e949a3

Please sign in to comment.