Skip to content

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

Merged
plafond merged 1 commit into
mainfrom
fix/replace-tos-blocked-comment-action
Jul 10, 2026
Merged

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

Conversation

@plafond

@plafond plafond commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

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

@dominikschubert dominikschubert left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for tackling this. I think while it's ok as an immediate fix to unblock #73, I want us to evaluate the usage of an external action here overall before we release a new version of the setup-localstack action

@plafond plafond merged commit 19cb04b into main Jul 10, 2026
6 checks passed
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.

2 participants