disinto/.woodpecker
johba ef544f58f9 fix: disinto init: auto-generate WOODPECKER_TOKEN for repo activation (#779) (#790)
Fixes #779

## Changes
Auto-generate WOODPECKER_TOKEN during disinto init by automating the Forgejo OAuth2 login flow after the compose stack starts. Adds generate_woodpecker_token() function that: logs into Forgejo web UI, drives the OAuth2 authorize/consent flow, completes the Woodpecker callback to get a session token, then creates a persistent personal access token via Woodpecker API. Saves to .env so activate_woodpecker_repo() can use it immediately. Failures are non-fatal (guarded with || true).

Co-authored-by: openhands <openhands@all-hands.dev>
Reviewed-on: https://codeberg.org/johba/disinto/pulls/790
Reviewed-by: Disinto_bot <disinto_bot@noreply.codeberg.org>
2026-03-27 14:01:28 +01:00
..
agent-smoke.sh fix: disinto init: auto-generate WOODPECKER_TOKEN for repo activation (#779) (#790) 2026-03-27 14:01:28 +01:00
ci.yml ci: run agent-smoke only on PRs, not push events 2026-03-27 06:55:26 +00:00
detect-duplicates.py fix: duplicate-detection CI step fails on pre-existing duplicates unrelated to PR (#296) 2026-03-19 22:03:18 +00:00
smoke-init.yml fix: run Forgejo as git user — refuses to run as root (#668) 2026-03-25 10:19:31 +00:00