From 0876dbc3e462f336448ea2ad1a5366ad960a48ef Mon Sep 17 00:00:00 2001 From: Patrick Erichsen Date: Tue, 28 Apr 2026 15:20:50 -0700 Subject: [PATCH] Enable ClawHub package publishing --- .github/workflows/check.yml | 17 ++++++++--------- .github/workflows/release.yml | 27 +++++++++++++-------------- LICENSE | 21 +++++++++++++++++++++ 3 files changed, 42 insertions(+), 23 deletions(-) create mode 100644 LICENSE diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index d62202f..013ad13 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -32,12 +32,11 @@ jobs: name: plugin-inspector-reports path: reports/plugin-inspector-* - # TODO: Re-enable after the ClawHub org/package ownership for this plugin exists. - # clawhub-dry-run: - # if: github.event_name == 'pull_request' - # permissions: - # contents: read - # id-token: write - # uses: ./.github/workflows/clawhub-package-publish.yml - # with: - # dry_run: true + clawhub-dry-run: + if: github.event_name == 'pull_request' + permissions: + contents: read + id-token: write + uses: ./.github/workflows/clawhub-package-publish.yml + with: + dry_run: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0c27c73..029fb70 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -147,17 +147,16 @@ jobs: env: NODE_AUTH_TOKEN: "" - # TODO: Re-enable after the ClawHub org/package ownership for this plugin exists. - # publish-clawhub: - # needs: validate - # permissions: - # contents: read - # id-token: write - # uses: ./.github/workflows/clawhub-package-publish.yml - # with: - # dry_run: false - # ref: ${{ needs.validate.outputs.tag_name }} - # version: ${{ needs.validate.outputs.package_version }} - # source_ref: refs/tags/${{ needs.validate.outputs.tag_name }} - # secrets: - # clawhub_token: ${{ secrets.CLAWHUB_TOKEN }} + publish-clawhub: + needs: validate + permissions: + contents: read + id-token: write + uses: ./.github/workflows/clawhub-package-publish.yml + with: + dry_run: false + ref: ${{ needs.validate.outputs.tag_name }} + version: ${{ needs.validate.outputs.package_version }} + source_ref: refs/tags/${{ needs.validate.outputs.tag_name }} + secrets: + clawhub_token: ${{ secrets.CLAWHUB_TOKEN }} diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..9a94c59 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 OpenClaw contributors + +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.