ci: run sync-info only on dev and keep i18n order stable (#332) The Sync Plugin Info workflow ran on pushes to both `dev` and `main` while always using the same `chore/sync-info` branch. A `dev` run force-pushed that branch onto `dev`, so the `main` sync PR (#330) suddenly showed the whole LDAP connector, and two bot PRs (#330, #331) shared one branch. Separately, `sync-info.sh` iterated i18n files in unsorted `find` order, so `zh_CN`/`en_US` could swap between runs and produce large reorder-only diffs. Changes: - Trigger only on pushes to `dev` (changes reach `main` via dev); set `base: dev` explicitly and `delete-branch: true`. - Add a `concurrency` group so back-to-back pushes don't race on the branch. - Sort i18n files with `LC_ALL=C sort` so key order is deterministic (`en_US`, then `zh_CN`, matching the current file). Tested locally on `dev`: the regenerated `plugins_desc.json` only adds the new LDAP and vector-search entries (+65/−0), with no reordering, and two runs are byte-identical. Co-authored-by: robinv8 <robinv8@users.noreply.github.com>
Apache Answer Official Plugins are built to enhance the feature of Answer.
Our plugin is under development and the interface definition of the plugin can be viewed at this link.
The Connector plugin helps us to implement third-party login functionality. For example: Google or GitHub OAuth login.
The Storage plugin helps us to upload files to third-party storage. For example: Aliyun OSS or AWS S3.
Using the Cache plugin allows you to store cached data in a different location. For example: Redis or Memcached.
Support using search plugin to speed up the search of question answers. For example: Elasticsearch or Meilisearch.
Using the third-party user system to manage users. For example: WeCom
The Notification plugin helps us to send messages to third-party notification systems. For example: Slack.
Add custom content on the sidebar navigation
Support for custom routing.
Support for extending the markdown editor's toolbar.
Support for customizing the reviewer.
Learn more about the plugin, please visit our docs.
Building the Answer docker image with plugins is easy, see here.