Skip to content

Release workflow: example-template sync fails with 403 and marks the whole release run red #380

Description

@zantvoort

The sync-example-templates step failed on the v1.13.1 release run: RELEASE_TOKEN has no write access to the storm-orm/storm-example-* repositories ("Permission to storm-orm/storm-example-java-spring-boot-4.git denied"). The loop in release.yml:209-229 runs under bash -e, so the first failing repo aborts the remaining four, and the step has no continue-on-error, so the Release run shows failed even though Central, npm, the Gradle Plugin Portal and the docs snapshot all succeeded. The example repos were then bumped by hand, so the next tag fails identically.

Fix: grant the token write access to the five example repos, tolerate per-repo failures inside the loop so one 403 cannot abort the rest, and decide whether a sync failure should fail the release (it should not: continue-on-error plus a visible warning fits better).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions