diff --git a/ephemeral/shutdown/action.yml b/ephemeral/shutdown/action.yml index 9acfd98..ff97be0 100644 --- a/ephemeral/shutdown/action.yml +++ b/ephemeral/shutdown/action.yml @@ -69,11 +69,10 @@ runs: retry shutdown_instance - name: Update status comment - uses: actions-cool/maintain-one-comment@4b2dbf086015f892dcb5e8c1106f5fccd6c1476b # v3 + uses: marocchino/sticky-pull-request-comment@0ea0beb66eb9baf113663a64ec522f60e49231c0 # v3.0.4 with: - token: ${{ inputs.github-token }} - body: | - The ephemeral instance for the application preview has been shut down - - body-include: '' + GITHUB_TOKEN: ${{ inputs.github-token }} + header: localstack-preview number: ${{ steps.pr.outputs.pr_id }} + message: | + The ephemeral instance for the application preview has been shut down diff --git a/finish/action.yml b/finish/action.yml index a960837..b49626f 100644 --- a/finish/action.yml +++ b/finish/action.yml @@ -71,12 +71,11 @@ runs: fi - name: Update status comment - uses: actions-cool/maintain-one-comment@4b2dbf086015f892dcb5e8c1106f5fccd6c1476b # v3 + uses: marocchino/sticky-pull-request-comment@0ea0beb66eb9baf113663a64ec522f60e49231c0 # v3.0.4 with: - token: ${{ inputs.github-token }} - body: | + GITHUB_TOKEN: ${{ inputs.github-token }} + header: localstack-preview + number: ${{ steps.pr.outputs.pr_id }} + message: | ${{ 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) }} ${{ inputs.include-preview && format('{0}{1}', '🚀 Preview for this PR: ', env.LS_PREVIEW_URL) }} - - body-include: '' - number: ${{ steps.pr.outputs.pr_id }} diff --git a/prepare/action.yml b/prepare/action.yml index 48ef59e..b3379b1 100644 --- a/prepare/action.yml +++ b/prepare/action.yml @@ -23,10 +23,9 @@ runs: path: ./pr-id.txt - name: Create initial PR comment - uses: actions-cool/maintain-one-comment@4b2dbf086015f892dcb5e8c1106f5fccd6c1476b # v3 + uses: marocchino/sticky-pull-request-comment@0ea0beb66eb9baf113663a64ec522f60e49231c0 # v3.0.4 with: - token: ${{ inputs.github-token }} - body: | + GITHUB_TOKEN: ${{ inputs.github-token }} + header: localstack-preview + message: | ⚡️ Running CI build with LocalStack ... - - body-include: ''