Skip to content

Commit

Permalink
#783 Pr Labelling (#784)
Browse files Browse the repository at this point in the history
* #783 Pr Labelling

* #783 Review fixes
Thels authored Jan 10, 2025
1 parent 4349721 commit dab480d
Showing 2 changed files with 32 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 @@
cli:
- "cli/**"
shared:
- "shared/**"
docs:
- "docs/**"
calm-hub:
- "calm-hub/**"
calm:
- "calm/**"
config:
- "pom.xml"
- "**/package.json"
- "**/package-lock.json"
18 changes: 18 additions & 0 deletions .github/workflows/pr-labelling.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: PR Labeler

on:
pull_request_target:
types: [opened, synchronize]

jobs:
label:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

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

0 comments on commit dab480d

Please sign in to comment.