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
28 changes: 28 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: Bug report
about: Report a problem with the skill-plotter CLI
title: "[Bug]"
labels: 'bugfix'
assignees: ''

---

**Describe the bug**
A clear and concise description of what is wrong.

**To reproduce**
The exact command(s) you ran, e.g. `skill-plotter add Python 9`.

**Expected behavior**
What you expected to happen instead.

**Error output / screenshots**
Paste the full error message or traceback, or add a screenshot of the generated plot if the output looks wrong.

**Environment**
- skill-plotter version: [e.g. 0.5.0, via `pip show skill-plotter`]
- Python version: [e.g. 3.12]
- OS: [e.g. Windows 11, macOS 15, Ubuntu 24.04]

**Additional context**
Add any other context about the problem here.
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Documentation improvement
about: Request improvements to the documentation
title: "[Documentation]"
labels: 'documentation'
assignees: ''

---

**What is missing in the current documentation?**
Describe the part of the documentation that you find lacking or unclear.

**Describe the improvement you would like to see:**
Tell us how you think the documentation can be improved.

**Additional context:**
Add any other context or screenshots about the documentation request here.
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/enhancement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: Enhancement
about: Improve or extend existing functionality
title: "[Enhancement]"
labels: 'enhancement'
assignees: ''

---

**Which existing functionality should be enhanced?**
Name the feature, screen, or component that already exists and should be improved or extended.

**What is the current behavior or limitation?**
Describe how it works today and why it falls short (e.g. missing option, awkward UX, performance, edge case not covered).

**Describe the enhancement you'd like**
A clear and concise description of the improvement or extension. Note that this is not a brand-new feature, but a change to something that already exists.

**Describe alternatives you've considered**
Other ways the existing behavior could be improved, if any.

**Additional context**
Add any other context or screenshots about the enhancement here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: "[Feature Request]"
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
18 changes: 18 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,23 @@ version: 2
updates:
- package-ecosystem: github-actions
directory: /
labels:
- dependencies
- skip-changelog
schedule:
interval: monthly
groups:
github-actions:
patterns:
- "*"
- package-ecosystem: uv
directory: /
labels:
- dependencies
- skip-changelog
schedule:
interval: monthly
groups:
python:
patterns:
- "*"
75 changes: 75 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
---
- name: 'breaking-change'
color: ee0701
description: 'A breaking change for existing users.'
- name: 'bugfix'
color: ee0701
description: 'Inconsistencies or issues which will cause a problem for users or implementers.'
- name: 'documentation'
color: 0052cc
description: 'Solely about the documentation of the project.'
- name: 'enhancement'
color: 1d76db
description: 'Enhancement of the code, not introducing new features.'
- name: 'refactor'
color: 1d76db
description: 'Improvement of existing code, not introducing new features.'
- name: 'performance'
color: 1d76db
description: 'Improving performance, not introducing new features.'
- name: 'new-feature'
color: 0e8a16
description: 'New features or options.'
- name: 'maintenance'
color: 2af79e
description: 'Generic maintenance tasks.'
- name: 'ci'
color: 1d76db
description: 'Work that improves the continue integration.'
- name: 'dependencies'
color: 1d76db
description: 'Upgrade or downgrade of project dependencies.'
- name: 'skip-changelog'
color: cccccc
description: 'Excluded from release notes and version resolving (e.g. dependabot).'

- name: 'in-progress'
color: fbca04
description: 'Issue is currently being resolved by a developer.'

- name: 'security'
color: ee0701
description: 'Marks a security issue that needs to be resolved asap.'
- name: 'incomplete'
color: fef2c0
description: 'Marks a PR or issue that is missing information.'
- name: 'invalid'
color: fef2c0
description: 'Marks a PR or issue that is missing information.'

- name: 'beginner-friendly'
color: 0e8a16
description: 'Good first issue for people wanting to contribute to the project.'
- name: 'help-wanted'
color: 0e8a16
description: 'We need some extra helping hands or expertise in order to resolve this.'

- name: 'priority-critical'
color: ee0701
description: 'This should be dealt with ASAP. Not fixing this issue would be a serious error.'
- name: 'priority-high'
color: b60205
description: 'After critical issues are fixed, these should be dealt with before any further issues.'
- name: 'priority-medium'
color: 0e8a16
description: 'This issue may be useful, and needs some attention.'
- name: 'priority-low'
color: e4ea8a
description: 'Nice addition, maybe... someday...'

- name: 'major'
color: b60205
description: 'This PR causes a major version bump in the version number.'
- name: 'minor'
color: 0e8a16
description: 'This PR causes a minor version bump in the version number.'
58 changes: 58 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
name-template: 'v$RESOLVED_VERSION 🌈'
tag-template: 'v$RESOLVED_VERSION'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
sort-direction: ascending
exclude-labels:
- 'skip-changelog'

categories:
- title: '🚨 Breaking changes'
labels:
- 'breaking-change'
- title: '🆕 New Features of this Release'
labels:
- 'new-feature'
- title: '💎 Improvements'
labels:
- 'enhancement'
- 'refactor'
- 'performance'
- 'improvement'
- title: '🐛 Bug fixes'
labels:
- 'bugfix'
- title: '🧰 Maintenance'
labels:
- 'maintenance'
- 'ci'
- title: '📚 Documentation'
labels:
- 'documentation'
- title: '⬆️ Dependency updates'
labels:
- 'dependencies'

version-resolver:
major:
labels:
- 'major'
- 'breaking-change'
minor:
labels:
- 'minor'
- 'new-feature'
patch:
labels:
- 'bugfix'
- 'chore'
- 'ci'
- 'dependencies'
- 'documentation'
- 'enhancement'
- 'performance'
- 'refactor'
default: patch

template: |
$CHANGES
25 changes: 25 additions & 0 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: Sync labels
run-name: 🏷️ Sync repo labels

on:
push:
branches:
- master
paths:
- .github/labels.yml
workflow_dispatch:

jobs:
labels:
permissions:
pull-requests: write
name: ♻️ Sync labels
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: 🚀 Run Label Syncer
uses: micnncim/action-label-syncer@3abd5ab72fda571e69fffd97bd4e0033dd5f495c # v1.3.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 6 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Linting
run-name: 🧹 Lint — ${{ github.event.pull_request.title }}
on: [pull_request]
jobs:
ruff:
Expand All @@ -9,6 +10,11 @@ jobs:
with:
src: './skill_plotter'
version-file: 'pyproject.toml'
- uses: astral-sh/ruff-action@278981a28ce3188b1e39527901f38254bf3aac89 # v4.1.0
with:
src: './skill_plotter'
version-file: 'pyproject.toml'
args: 'format --check'
ty:
runs-on: ubuntu-latest
steps:
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/pr-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: PR Labels
run-name: 🏷️ Label check — ${{ github.event.pull_request.title }}

on:
pull_request_target:
types:
- opened
- labeled
- unlabeled
- synchronize
workflow_call:

permissions:
contents: read
pull-requests: write

jobs:
pr_labels:
name: Verify
runs-on: ubuntu-latest
steps:
- name: 🏷 Verify PR has a valid label
uses: jesusvasquez333/verify-pr-label-action@657d111bbbe13e22bbd55870f1813c699bde1401 # v1.4.0
with:
pull-request-number: "${{ github.event.pull_request.number }}"
github-token: "${{ secrets.GITHUB_TOKEN }}"
valid-labels: >-
breaking-change, bugfix, documentation, enhancement,
refactor, performance, new-feature, maintenance, ci, dependencies
disable-reviews: true
10 changes: 3 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
name: Build & publish to pipy
run-name: 📦 Publish ${{ github.ref_name }} to PyPI
on:
release:
types: [published]
workflow_dispatch:
inputs:
tags:
description: 'Test scenario tags'
required: false

jobs:
publish-service-client-package:
runs-on: ubuntu-latest
environment: pypi
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
Expand All @@ -29,8 +27,6 @@ jobs:
git commit -m 'Change version to ${{ github.event.release.tag_name }}' --allow-empty
git push origin HEAD:master
- name: Build and publish
env:
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_TOKEN }}
run: |
uv build
uv publish
24 changes: 24 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Release Drafter
run-name: ✏️ Update release draft

# yamllint disable-line rule:truthy
on:
push:
branches:
- master
workflow_dispatch:

permissions:
contents: write
pull-requests: write

jobs:
update_release_draft:
name: ✏️ Draft release
runs-on: ubuntu-latest
steps:
- name: 🚀 Run Release Drafter
uses: release-drafter/release-drafter@34d80673e067bdc0c24568d3af899c216adcfaa9 # v7.7.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading
Loading