From 4deac8a76bf705888572661d1a65a6e9a840e586 Mon Sep 17 00:00:00 2001 From: Eduardo Lopez Date: Thu, 14 Jan 2021 14:43:36 -0500 Subject: [PATCH] [fix] ok-to-test: Add job result to status comment (#414) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Instead of appending all integration tests comments, replace old comments (GH still preserves comment history). Furthermore, add the job result to the comment. ## Test Plan * [ ] acceptance tests * [ ] … ## References * --- .github/workflows/integration.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index eeff7af43a9..57564bccec1 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -84,7 +84,7 @@ jobs: issue-number: ${{ github.event.pull_request.number || github.event.client_payload.pull_request.number }} comment-id: ${{ steps.fc.outputs.comment-id }} body: | - Integration tests ran for [${{ github.event.client_payload.slash_command.args.named.sha || github.event.pull_request.head.sha }}](https://github.com/chanzuckerberg/terraform-provider-snowflake/actions/runs/${{ github.run_id }}) + Integration tests ${{ job.status }} for [${{ github.event.client_payload.slash_command.args.named.sha || github.event.pull_request.head.sha }}](https://github.com/chanzuckerberg/terraform-provider-snowflake/actions/runs/${{ github.run_id }}) - name: set fork job status uses: actions/github-script@v3