Skip to content

Commit

Permalink
Merge pull request layer5io#3490 from layer5io/leecalcote/ci/pr-labeler
Browse files Browse the repository at this point in the history
[CI] Pull request labeler
  • Loading branch information
leecalcote authored Dec 2, 2022
2 parents 240ea6f + 1b1a35c commit 0e4b6fa
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 0 deletions.
58 changes: 58 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
area/docs:
- "readme.md"
- "contributing.md"
area/ci:
- ".github/**/*"
- ".husky/**/*"
area/blog:
- "src/collections/blog/**/*"
- "src/pages/blog/**/*"
- "src/templates/blog-*.js"
area/careers:
- "src/collections/careers/**/*"
- "src/collections/programs/**/*"
- "src/templates/career-*.js"
- "src/pages/careers/*"
area/community:
- "src/collections/members/**/*"
- "src/pages/community/**/*"
- "src/templates/member-*.js"
area/events:
- "src/collections/events/**/*"
- "src/templates/event*.js"
area/handbook:
- "src/components/HandbookCard/**/*"
- "src/components/Handbook-navigation/**/*"
area/landscape:
- "src/sections/Landscape/**/*"
- "src/components/Landscape-Table/**/*"
- "src/collections/landscape/**/*"
area/learn:
- "content-learn"
- "src/components/Learn-Components/**/*"
- "src/collections/service-mesh-books/**/*"
- "src/collections/service-mesh-learn/**/*"
- "src/collections/service-mesh-workshops/**/*"
- "src/templates/book-*.js"
- "src/templates/course-*.js"
- "src/templates/lab-*.js"
- "src/templates/learn-*.js"
- "src/templates/workshop-*.js"
area/news:
- "src/collections/news/**/*"
- "src/templates/news-*.js"
area/partners:
- "src/collections/partners/**/*"
area/resources:
- "src/collections/resources/**/*"
- "src/templates/resource-*.js"
area/projects:
- "src/collections/projects/**/*"
- "src/pages/projects/**/*"
area/core-styls:
- "src/sections/app.style.js"
- "src/theme/app/*"
area/site-config:
- "gatsby-*.js"
area/packages:
- "package-*.js"
14 changes: 14 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "Pull Request Labeler"
on:
- pull_request_target

jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 0e4b6fa

Please sign in to comment.