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> |
||
|---|---|---|
| .. | ||
| agent-smoke.sh | ||
| ci.yml | ||
| detect-duplicates.py | ||
| smoke-init.yml | ||