#820·openwiki

[Bug]: Openwiki --update keeps changing the Bitbucket Pipelines to GitHub Actions in a Bitbucket project

Author: montssCreated Sep 6, 2026Updated Sep 8, 2026
Labelsbug

Description

In the AGENTS.md The update process keeps inserting

<!-- OPENWIKI:START -->

## OpenWiki
.
.
.
The scheduled OpenWiki GitHub Actions workflow refreshes the repository wiki. Do not hand-edit generated OpenWiki pages unless explicitly asked; prefer updating source code/docs and letting OpenWiki regenerate.

<!-- OPENWIKI:END -->

I believe this part is static, but it doesn't make any sense to reference GitHub Actions is a bitbucket project, that even has a bitbucket-pipelines.yml file in it.

Steps to Reproduce

  1. A bitbucket git project, that has bitbucket-pipelines.yml in its root directory and an AGENTS.md file.
  2. Run openwiki --init
  3. in AGENTS.md, change GitHub Actions to Bitbucket Pipelines manually.
  4. Run openwiki --update

Expected Behavior

It shouldn't change Bitbucket Pipelines to GitHub Actions.

Actual Behavior

It changes Bitbucket Pipelines to GitHub Actions.

Environment

  • OS: Windows or Linux
  • Node.js version: 22 or 24
  • OpenWiki version: 0.5.0, also older versions had the same issue.

Additional Context

No response