From 21e7bbf46386ad71687e8c5192557a69ec487042 Mon Sep 17 00:00:00 2001 From: karishma-chawla <74574173+karishma-chawla@users.noreply.github.com> Date: Tue, 12 Dec 2023 12:12:23 -0800 Subject: [PATCH] Add test-failure label to issues created for samples failures Signed-off-by: karishma-chawla <74574173+karishma-chawla@users.noreply.github.com> --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index a18d60e3..b9b1d50b 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -286,7 +286,7 @@ jobs: if-no-files-found: error - name: Create GitHub issue on failure if: failure() && github.event_name != 'pull_request' && github.event_name != 'workflow_dispatch' - run: gh issue create --title "Samples deployment failed for ${{ matrix.app }}" --body "Test failed on ${{ github.repository }}. See [workflow logs](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) for more details." --repo ${{ github.repository }} + run: gh issue create --title "Samples deployment failed for ${{ matrix.app }}" --body "Test failed on ${{ github.repository }}. See [workflow logs](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) for more details." --repo ${{ github.repository }} --label test-failure # Cleanup - name: Delete app if: always() && steps.gen-id.outputs.RUN_TEST == 'true'