Add updateassets command with webapp code detection

- Add updateassets command to update plugin files from embedded assets
- Only include webapp assets if plugin manifest indicates webapp code presence
- Compare file contents before updating to avoid unnecessary writes
- Display count of updated files in completion message

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Felipe M 2025-07-09 16:38:26 +02:00
parent 1ea8f2b38a
commit b43e7ac3ec
No known key found for this signature in database
GPG key ID: 52E5D65FCF99808A
8 changed files with 366 additions and 0 deletions

23
assets/.github/workflows/ci.yml vendored Normal file
View file

@ -0,0 +1,23 @@
name: ci
on:
schedule:
- cron: "0 0 * * *"
push:
branches:
- main
tags:
- "v*"
pull_request:
permissions:
contents: read
env:
IS_CI: true
jobs:
plugin-ci:
uses: mattermost/actions-workflows/.github/workflows/plugin-ci.yml
secrets: inherit
with:
mage-version: v1.15.0