ReMe/.github/workflows/release-openclaw-plugin.yml
dependabot[bot] b55c528052
chore(deps): bump openclaw/clawhub/.github/workflows/package-publish.yml (#705)
Bumps [openclaw/clawhub/.github/workflows/package-publish.yml](https://github.com/openclaw/clawhub) from 0.24.0 to 0.24.1.
- [Release notes](https://github.com/openclaw/clawhub/releases)
- [Changelog](https://github.com/openclaw/clawhub/blob/main/CHANGELOG.md)
- [Commits](cacf5ec1b0...65248d7d93)

---
updated-dependencies:
- dependency-name: openclaw/clawhub/.github/workflows/package-publish.yml
  dependency-version: 0.24.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-02 17:41:00 +08:00

61 lines
1.9 KiB
YAML

# Configure npm Trusted Publishing for this caller filename and the npm environment.
name: Release / OpenClaw plugin
run-name: Publish ReMe OpenClaw plugin from ${{ github.ref_name }}
on:
workflow_dispatch:
inputs:
use_npm_token:
description: Use the npm environment NPM_TOKEN instead of Trusted Publishing
required: true
default: false
type: boolean
publish_clawhub:
description: Also publish the package to ClawHub
required: true
default: false
type: boolean
permissions:
contents: read
concurrency:
group: publish-reme-openclaw-plugin
cancel-in-progress: false
jobs:
release:
if: github.ref == 'refs/heads/main'
permissions:
contents: read
id-token: write
uses: ./.github/workflows/_release-npm-plugin.yml
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
with:
directory: integrations/openclaw
package_name: '@agentscope-ai/reme-openclaw-plugin'
artifact_name: agentscope-ai-reme-openclaw-plugin
use_npm_token: ${{ inputs.use_npm_token }}
validate_clawhub: true
publish-clawhub:
if: ${{ inputs.publish_clawhub && github.ref == 'refs/heads/main' }}
needs: release
permissions:
actions: read
contents: read
id-token: write
uses: openclaw/clawhub/.github/workflows/package-publish.yml@65248d7d93ce5686a43f22715d01f1e91e3ca572 # v20261028.pre.062526Z.pre.65248d7
with:
family: code-plugin
version: ${{ needs.release.outputs.version }}
tags: ${{ needs.release.outputs.npm_tag }}
source_repo: ${{ github.repository }}
source_commit: ${{ github.sha }}
source_ref: ${{ github.sha }}
source_path: integrations/openclaw
package_artifact_name: agentscope-ai-reme-openclaw-plugin-${{ needs.release.outputs.version }}
dry_run: false
wait_for_publication: true