Build forgejo-file-sync plugin #64
Labels
No labels
plugin/bun2nix
plugin/cargo-build
plugin/cargo-clippy
plugin/cargo-nextest
plugin/cargo-publish
plugin/cargo-verify
plugin/command-suite
plugin/flake-checker
plugin/flake-lock-report
plugin/forgejo-file-sync
plugin/forgejo-opencode-review
plugin/forgejo-pr-merge
plugin/forgejo-release
plugin/new
plugin/nix-build
plugin/nixidy-cli
plugin/nixidy-switch
plugin/nix-unit
plugin/ntfy
plugin/oci-build-push
plugin/oci-copy
plugin/openapi-to-rust
plugin/path-filter
plugin/renovate-config-check
plugin/woodpecker-lint
type
feature
type
task
automerge
bug
dependencies
duplicate
help wanted
invalid
lang
rust
migrations
opencode
question
security
type
documentation
type
enhancement
type
maintenance
type
refactor
vulnerability
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Reference
Personal/woodpecker-plugins#64
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add a Woodpecker plugin that reads, creates, or updates arbitrary Forgejo repository files. Support optional branch creation and pull-request creation; callers provide replacement content or a transformation command rather than coupling the plugin to image-tag replacement. Follow the Forgejo API patterns established by forgejo-release.
Design
Priority: High. Evidence: roughly 100 lines of repeated shell/YAML in recurring-events and woodpecker-extension.
Acceptance criteria
The plugin can read and create repository files, update existing files using their SHA, and optionally create a branch and PR. It accepts Forgejo credentials, target owner/repository/path/branch, content or a transformation command, and commit message. Document configuration and add appropriate tests.
Migration provenance
Migrated from Beads. Original timestamps and authors are preserved below; Forgejo creation metadata reflects the migration.
Original Beads record