Add workflow that attaches labels to prs (#249)

This commit is contained in:
Lukasz Ostrowski 2023-03-09 12:59:13 +01:00 committed by GitHub
parent 1af3996e39
commit f8de90b56b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 0 deletions

9
.github/labeler.yml vendored Normal file
View file

@ -0,0 +1,9 @@
"App: Data Importer": "apps/data-importer/**/*"
"App: Invoices": "apps/invoices/**/*"
"App: Klaviyo": "apps/klaviyo/**/*"
"App: Monitoring": "apps/monitoring/**/*"
"App: Product Feed": "apps/products-feed/**/*"
"App: Search": "apps/search/**/*"
"App: Slack": "apps/slack/**/*"
"App: Taxes": "apps/taxes/**/*"
"App: Emails & Messages": "apps/emails-and-messages/**/*"

15
.github/workflows/labeler.yml vendored Normal file
View file

@ -0,0 +1,15 @@
name: "Pull Request Labeler"
on:
pull_request:
jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
with:
sync-labels: true