From 991a5e71e2e78e1f99f8390d8d99cd7a633b16a6 Mon Sep 17 00:00:00 2001 From: Josh Mabry Date: Wed, 4 Nov 2026 23:50:42 -0800 Subject: [PATCH] chore: MIT license and the fleet release workflow LICENSE (MIT, protoLabs AI, matching the other fleet plugins) and pyproject license = MIT. .github/workflows/release.yml is the thin caller of protoLabsAI/release-tools' reusable plugin-release workflow (tag, themed release notes, GitHub release, Discord embed), fired by a `chore: release vX.Y.Z` commit on main or a manual dispatch, with this repo's fork guard. Copied from careercoach-plugin. No version change. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/release.yml | 33 +++++++++++++++++++++++++++++++++ LICENSE | 21 +++++++++++++++++++++ pyproject.toml | 1 + 3 files changed, 55 insertions(+) create mode 100644 .github/workflows/release.yml create mode 100644 LICENSE diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..07c942d --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,33 @@ +name: Release + +# Thin caller for the fleet release ritual: tag → LLM-themed release notes → Discord +# embed → GitHub release body. The logic lives in the reusable +# protoLabsAI/release-tools/.github/workflows/plugin-release.yml, shared by every +# plugin in the fleet — this repo used to be tagged by hand, which skipped the notes +# and the Discord embed. Fires on a deliberate `chore: release vX.Y.Z` commit to main +# (the version in protoagent.plugin.yaml / pyproject.toml is bumped in lockstep by +# feature PRs; the release commit is the cut that batches them) or a manual dispatch. +# Idempotent: a re-run on a version whose tag already exists skips the tag + release +# creation. The reusable workflow reads the notes-gateway + Discord webhook secrets +# from `secrets: inherit` (org-level across the fleet). + +on: + push: + branches: [main] + workflow_dispatch: + +# Grant write at the caller so it flows into the reusable workflow's GITHUB_TOKEN — a +# called workflow can only downgrade the caller's token, never escalate. +permissions: + contents: write + +jobs: + release: + # The fork guard stays here — it's repo-specific and can't live in the reusable + # workflow, which is shared across every plugin in the fleet. + if: >- + github.repository == 'protoLabsAI/ebay-plugin' && + (github.event_name == 'workflow_dispatch' || + startsWith(github.event.head_commit.message, 'chore: release v')) + uses: protoLabsAI/release-tools/.github/workflows/plugin-release.yml@v2 + secrets: inherit diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..8820eff --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 protoLabs AI + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/pyproject.toml b/pyproject.toml index 67ba90b..e92414b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,6 +3,7 @@ name = "ebay-plugin" version = "0.3.3" description = "Marketplace price research (eBay + Amazon) + seller economics for protoAgent, via a browser session" requires-python = ">=3.11" +license = "MIT" [tool.ruff] line-length = 120