Skip to content

Commit

Permalink
add the action
Browse files Browse the repository at this point in the history
  • Loading branch information
wd60622 committed Oct 23, 2024
1 parent a8bb781 commit a1502c2
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
docs:
- changed-files:
- any-glob-to-any-file:
- docs/source/**

MMM:
- changed-files:
- any-glob-to-any-file:
- docs/source/notebooks/mmm/*
- pymc_marketing/mmm/**

CLV:
- changed-files:
- any-glob-to-any-file:
- docs/source/notebooks/clv/*
- pymc_marketing/clv/**

"Prior class":
- changed-files:
- any-glob-to-any-file:
- pymc_marketing/prior.py


streamlit:
- changed-files:
- any-glob-to-any-file:
- streamlit/*

tests:
- changed-files:
- any-glob-to-any-file:
- tests/**

mlflow:
- changed-files:
- any-glob-to-any-file:
- pymc_marketing/mlflow.py
12 changes: 12 additions & 0 deletions .github/workflows/pr-auto-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: "Pull Request Labeler"
on:
- pull_request_target

jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5

0 comments on commit a1502c2

Please sign in to comment.