Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/label-pr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"title_patterns": {
"t:feature": ["feat", "feature", "tool"],
"t:bugfix": ["fix", "bug", "bugfix"],
"t:tech-debt": ["refactor", "chore", "cleanup", "revert", "debt", "test", "perf"],
"t:docs": ["docs"],
"t:ci": ["ci", "build", "chore(ci)"],
"t:deps": ["deps", "[deps]"],
"t:breaking-change": ["breaking", "breaking-change"],
"t:misc": ["misc"],
"t:llm": ["llm"]
},
"path_patterns": {
"t:feature": [],
"t:tech-debt": [],
"t:ci": [".checkmarx/", ".github/"],
"t:docs": ["README.md", "CONTRIBUTING.md", "SECURITY.md"],
"t:deps": [],
"t:llm": [".claude/"]
Comment thread
djsmith85 marked this conversation as resolved.
}
}
29 changes: 29 additions & 0 deletions .github/workflows/auto-label-pr-sdlc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Label PR
run-name: Label PR #${{ github.event.pull_request.number }}

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

permissions: {}

jobs:
label:
name: Label PR
runs-on: ubuntu-24.04
permissions:
contents: read
pull-requests: write
steps:
- name: Check out repo
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
Comment thread
Copilot marked this conversation as resolved.

- name: Label PR
uses: bitwarden/gh-actions/auto-label-pr-sdlc@main
with:
pr-number: ${{ github.event.pull_request.number }}
pr-labels: ${{ toJSON(github.event.pull_request.labels) }}
mode: add
github-token: ${{ secrets.GITHUB_TOKEN }}
Loading