Skip to content

fix: replace ToS-blocked maintain-one-comment action (fixes ephemeral test)#75

Open
plafond wants to merge 1 commit into
mainfrom
fix/replace-tos-blocked-comment-action
Open

fix: replace ToS-blocked maintain-one-comment action (fixes ephemeral test)#75
plafond wants to merge 1 commit into
mainfrom
fix/replace-tos-blocked-comment-action

Conversation

@plafond

@plafond plafond commented Jun 30, 2026

Copy link
Copy Markdown

Root cause

The ephemeral instance test has failed on every PR since ~2026-06-08 with Repository access blocked, while ci.yml keeps passing.

The blocked repository is actions-cool/maintain-one-comment — GitHub blocked it for a Terms of Service violation on 2026-05-19:

{ "message": "Repository access blocked",
  "block": { "reason": "tos", "created_at": "2026-05-19T00:34:15Z" } }

The Actions runner downloads actions through the GitHub API, so any step resolving this action dies at job prep (Getting action download info) before it runs — the exact failure annotation we saw. It's the only blocked action in the dependency tree; jenseng/dynamic-uses, dawidd6/action-download-artifact, and the actions/* ones all resolve fine. (Timeline fits: last green 2026-04-14 → blocked 2026-05-19 → failures from 2026-06-08.) No org allowlist change is involved, and no allowlisting can fix a ToS-blocked repo — it must be replaced.

Change

Replace all three usages (prepare, finish, ephemeral/shutdown) with the maintained marocchino/sticky-pull-request-comment (SHA-pinned, v3.0.4):

  • Shared header: localstack-preview preserves the single sticky-comment behaviour across the create → update → shutdown lifecycle.
  • marocchino manages its own hidden marker, so the literal <!-- Sticky Pull Request Comment --> line is dropped from the message bodies.
  • The 🚀 Preview for this PR: text asserted by ephemeral.yml is preserved.

Verification

This PR triggers ephemeral.yml — the deploy/shutdown steps should now get past Repository access blocked, and the "Check PR Comments for preview text" assertion should find the sticky comment.

🤖 Generated with Claude Code

…comment

actions-cool/maintain-one-comment was blocked by GitHub for a Terms of
Service violation on 2026-05-19. The Actions runner can no longer download
it, so every workflow resolving it fails at prep with "Repository access
blocked". This broke the ephemeral instance preview flow (the only path
using the action) while ci.yml kept passing.

Swap all three usages (prepare, finish, ephemeral/shutdown) to the
maintained marocchino/sticky-pull-request-comment (SHA-pinned, v3.0.4).
The shared `header: localstack-preview` preserves the single-sticky-comment
behaviour across the create/update/shutdown lifecycle; marocchino manages
its own hidden marker, so the literal HTML marker line is dropped. The
"Preview for this PR" text asserted by the ephemeral test is preserved.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jun 30, 2026

Copy link
Copy Markdown

The ephemeral instance for the application preview has been shut down

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