Skip to content

817 structured cybersecurity skills for AI agents · Mapped to 6 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND, NIST AI RMF & MITRE F3 (Fight Fraud) · agentskills.io standard · Works with Claude Code, GitHub Copilot, Codex CLI, Cursor, Gemini CLI & 20+ platforms · 29 security domains · Apache 2.0

ci: add workflow to auto-sync marketplace version on release

Mahipale26a736cf7e7
diff --git a/.github/workflows/sync-marketplace-version.yml b/.github/workflows/sync-marketplace-version.yml
new file mode 100644
index 00000000..db53f8e7
--- /dev/null
+++ b/.github/workflows/sync-marketplace-version.yml
@@ -0,0 +1,41 @@
+name: Sync Marketplace Version on Release
+
+on:
+ release:
+ types: [published]
+
+jobs:
+ sync-version:
+ runs-on: ubuntu-latest
+ permissions:
+ contents: write
+
+ steps:
+ - uses: actions/checkout@v4
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Extract version from tag
+ id: version
+ run: |
+ VERSION=${GITHUB_REF_NAME#v}
+ echo "version=$VERSION" >> $GITHUB_OUTPUT
+ echo "tag=$GITHUB_REF_NAME" >> $GITHUB_OUTPUT
+
+ - name: Update marketplace.json version
+ env:
+ VERSION: ${{ steps.version.outputs.version }}
+ run: |
+ jq --arg v "$VERSION"
+ '.metadata.version = $v | .plugins[].version = $v'
+ .claude-plugin/marketplace.json > tmp.json
+ mv tmp.json .claude-plugin/marketplace.json
+ echo "Updated marketplace.json to version $VERSION"
+
+ - name: Commit and push
+ run: |
+ git config user.name "mukul975"
+ git config user.email "[email protected]"
+ git add .claude-plugin/marketplace.json
+ git diff --staged --quiet || git commit -m "chore: bump marketplace version to ${{ steps.version.outputs.tag }}"
+ git push