From dfc1bbb11d54c5b4137430314e0de92eb837afbe Mon Sep 17 00:00:00 2001 From: Graeme Arthur Date: Wed, 24 Jan 2024 14:32:52 +0100 Subject: [PATCH] Link documentation in failure task description --- .github/workflows/end-to-end.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/end-to-end.yml b/.github/workflows/end-to-end.yml index 2f31dc7bf3..c0a2e39498 100644 --- a/.github/workflows/end-to-end.yml +++ b/.github/workflows/end-to-end.yml @@ -80,7 +80,7 @@ jobs: --header "Accept: application/json" \ --header "Authorization: Bearer ${{ secrets.ASANA_ACCESS_TOKEN }}" \ --header "Content-Type: application/json" \ - --data ' { "data": { "name": "GH Workflow Failure - End to end tests", "workspace": "${{ vars.GH_ASANA_WORKSPACE_ID }}", "projects": [ "${{ vars.GH_ASANA_IOS_APP_PROJECT_ID }}" ], "notes" : "The end to end workflow has failed. See https://github.com/duckduckgo/iOS/actions/runs/${{ github.run_id }}" } }' + --data ' { "data": { "name": "GH Workflow Failure - End to end tests", "workspace": "${{ vars.GH_ASANA_WORKSPACE_ID }}", "projects": [ "${{ vars.GH_ASANA_IOS_APP_PROJECT_ID }}" ], "notes" : "The end to end workflow has failed. See https://github.com/duckduckgo/iOS/actions/runs/${{ github.run_id }}. For instructions on how to handle the failure(s), check https://app.asana.com/0/0/1206423571874502/f" } }' - name: Upload logs when workflow failed uses: actions/upload-artifact@v4