Skip to content

Commit

Permalink
feat: auto label PR workflow (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
priyanshuverma-dev authored Nov 23, 2024
1 parent 2e5887b commit 79d3ed3
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
ci:
- .github/**/*

docs:
- changed-files:
- any-glob-to-any-file: /packages/docs/*

app:
- changed-files:
- any-glob-to-any-file: /packages/app/*

studio:
- changed-files:
- any-glob-to-any-file: /packages/studio/*
17 changes: 17 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "PR Labeler"

on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
label:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Label PR
uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN}}"

0 comments on commit 79d3ed3

Please sign in to comment.