Skip to content

Fix keep-alive: point at relaton/support reusable workflow#7

Merged
andrew2net merged 1 commit into
v2from
fix/keep-alive-tos-blocked
May 12, 2026
Merged

Fix keep-alive: point at relaton/support reusable workflow#7
andrew2net merged 1 commit into
v2from
fix/keep-alive-tos-blocked

Conversation

@andrew2net
Copy link
Copy Markdown
Contributor

Summary

Repoints .github/workflows/keep-alive.yml from the broken metanorma/ci/keep-alive.yml@main to a new in-org reusable workflow at relaton/support. Adds workflow_dispatch: so it can be tested manually, and a least-privilege permissions: actions: write block.

Root cause of the failures

The chain keep-alive.yml → metanorma/ci/keep-alive.yml@main → gautamkrishnar/keepalive-workflow@v1 has been failing every monthly run since 2025-05-01 with "Repository access blocked". Direct check:

$ gh api repos/gautamkrishnar/keepalive-workflow
{"message":"Repository access blocked",
 "block":{"reason":"tos","created_at":"2025-04-21T23:04:42Z"}}

GitHub blocked the leaf action on 2025-04-21 for a Terms-of-Service violation (dummy commits to defeat the 60-day-inactivity policy). The block is repo-wide — no tag, branch, or SHA resolves. Re-pinning the version cannot fix it.

This is not a relaton org policy change and not a new GitHub Actions security feature, despite the misleading "access blocked" wording.

Companion change

Depends on relaton/support#50 which adds the new reusable workflow. That PR uses GitHub's official actions/workflows/{id}/enable REST API instead of dummy commits — ToS-clean, no third-party action dependency.

Merge order: relaton/support#50 first, then this PR.

Part of a sweep

Same broken pattern exists in all relaton-data-* repos with v2 as default. Companion PRs across the family:

  • relaton-data-etsi#4 (pilot, fully verified)

Follow-up

Update the metanorma/cimas template to emit the new pattern so future regenerations don't undo this fix.

🤖 Generated with Claude Code

Replaces metanorma/ci/keep-alive.yml@main, whose leaf action
gautamkrishnar/keepalive-workflow was blocked by GitHub on
2025-04-21 for ToS violation. Every monthly run since 2025-05-01
has failed.

Depends on relaton/support#50.
@andrew2net andrew2net merged commit 055c0f2 into v2 May 12, 2026
5 of 6 checks passed
@andrew2net andrew2net deleted the fix/keep-alive-tos-blocked branch May 12, 2026 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant