Skip to content

Commit 19cb04b

Browse files
plafondclaude
andauthored
fix: replace ToS-blocked maintain-one-comment with marocchino sticky comment (#75)
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>
1 parent 7c8a0cb commit 19cb04b

3 files changed

Lines changed: 14 additions & 17 deletions

File tree

ephemeral/shutdown/action.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,10 @@ runs:
6969
retry shutdown_instance
7070
7171
- name: Update status comment
72-
uses: actions-cool/maintain-one-comment@4b2dbf086015f892dcb5e8c1106f5fccd6c1476b # v3
72+
uses: marocchino/sticky-pull-request-comment@0ea0beb66eb9baf113663a64ec522f60e49231c0 # v3.0.4
7373
with:
74-
token: ${{ inputs.github-token }}
75-
body: |
76-
The ephemeral instance for the application preview has been shut down
77-
<!-- Sticky Pull Request Comment -->
78-
body-include: '<!-- Sticky Pull Request Comment -->'
74+
GITHUB_TOKEN: ${{ inputs.github-token }}
75+
header: localstack-preview
7976
number: ${{ steps.pr.outputs.pr_id }}
77+
message: |
78+
The ephemeral instance for the application preview has been shut down

finish/action.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,11 @@ runs:
7171
fi
7272
7373
- name: Update status comment
74-
uses: actions-cool/maintain-one-comment@4b2dbf086015f892dcb5e8c1106f5fccd6c1476b # v3
74+
uses: marocchino/sticky-pull-request-comment@0ea0beb66eb9baf113663a64ec522f60e49231c0 # v3.0.4
7575
with:
76-
token: ${{ inputs.github-token }}
77-
body: |
76+
GITHUB_TOKEN: ${{ inputs.github-token }}
77+
header: localstack-preview
78+
number: ${{ steps.pr.outputs.pr_id }}
79+
message: |
7880
${{ inputs.ci-project && format('{0}{1}', '🚀 LocalStack Stack Insights and Cloud Pod state for this CI run: https://app.localstack.cloud/ci/', inputs.ci-project) }}
7981
${{ inputs.include-preview && format('{0}{1}', '🚀 Preview for this PR: ', env.LS_PREVIEW_URL) }}
80-
<!-- Sticky Pull Request Comment -->
81-
body-include: '<!-- Sticky Pull Request Comment -->'
82-
number: ${{ steps.pr.outputs.pr_id }}

prepare/action.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,9 @@ runs:
2323
path: ./pr-id.txt
2424

2525
- name: Create initial PR comment
26-
uses: actions-cool/maintain-one-comment@4b2dbf086015f892dcb5e8c1106f5fccd6c1476b # v3
26+
uses: marocchino/sticky-pull-request-comment@0ea0beb66eb9baf113663a64ec522f60e49231c0 # v3.0.4
2727
with:
28-
token: ${{ inputs.github-token }}
29-
body: |
28+
GITHUB_TOKEN: ${{ inputs.github-token }}
29+
header: localstack-preview
30+
message: |
3031
⚡️ Running CI build with LocalStack ...
31-
<!-- Sticky Pull Request Comment -->
32-
body-include: '<!-- Sticky Pull Request Comment -->'

0 commit comments

Comments
 (0)