diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..939e232 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,34 @@ +ci-cd: + - changed-files: + - any-glob-to-any-file: .github/** + +dependencies: + - changed-files: + - any-glob-to-any-file: + - requirements/*.txt + - requirements.txt + +documentation: + - changed-files: + - any-glob-to-any-file: + - docs/** + - requirements/documentation.txt + +enhancement: + - head-branch: ["^feature", "feature", "^improve", "improve"] + +packaging: + - head-branch: ["^packaging", "packaging"] + +tooling: + - head-branch: ["^tooling", "tooling"] + - changed-files: + - any-glob-to-any-file: + - .pre-commit-config.yaml + +UI: + - head-branch: ["^ui", "ui"] + - changed-files: + - any-glob-to-any-file: + - profile_manager/**/*.ui + - profile_manager/gui/** diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..64604cf --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,22 @@ +changelog: + exclude: + authors: + - dependabot + - pre-commit-ci + categories: + - title: Bugs fixes 🐛 + labels: + - bug + - title: Features and enhancements 🎉 + labels: + - enhancement + - UI + - title: Tooling 🔧 + labels: + - ci-cd + - title: Documentation 📖 + labels: + - documentation + - title: Other Changes + labels: + - "*" diff --git a/.github/workflows/auto-labeler.yml b/.github/workflows/auto-labeler.yml new file mode 100644 index 0000000..85fc77e --- /dev/null +++ b/.github/workflows/auto-labeler.yml @@ -0,0 +1,14 @@ +name: "🏷 PR Labeler" +on: + - pull_request + +jobs: + triage: + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v5 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}"