Skip to content

fix(deps): update module charm.land/bubbletea/v2 to v2.0.8 #17

fix(deps): update module charm.land/bubbletea/v2 to v2.0.8

fix(deps): update module charm.land/bubbletea/v2 to v2.0.8 #17

Workflow file for this run

name: Label PR
on:
pull_request_target:
branches: [master]
permissions:
contents: read
pull-requests: write
issues: write
jobs:
labeler:
name: Label PR
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
# File-based labels (docs, ci, deps, plugins)
- uses: actions/labeler@v6
with:
configuration-path: .github/labeler.yml
# Conventional commit labels from PR title
- name: Label from PR title
uses: actions/github-script@v9
with:
script: |
const title = context.payload.pull_request.title.toLowerCase();
const labels = [];
if (title.startsWith('feat:') || title.startsWith('feat(') || title.startsWith('feature:') || title.startsWith('feature(')) {
labels.push('feature');
}
if (title.startsWith('fix:') || title.startsWith('fix(')) {
labels.push('bug');
}
if (title.startsWith('docs:') || title.startsWith('docs(')) {
labels.push('documentation');
}
if (title.startsWith('chore:') || title.startsWith('chore(')) {
labels.push('chore');
}
if (labels.length > 0) {
await github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.payload.pull_request.number,
labels,
});
}