Skip to content

Commit

Permalink
Update changes in test.yaml workflow into v0.28 (#904)
Browse files Browse the repository at this point in the history
* Add test-failure label to issues created for samples failures (#899)

Signed-off-by: karishma-chawla <[email protected]>
Co-authored-by: karishma-chawla <[email protected]>

* updating condition to specify scheduled run

---------

Signed-off-by: karishma-chawla <[email protected]>
Signed-off-by: Lakshmi Javadekar <[email protected]>
Co-authored-by: Karishma Chawla <[email protected]>
Co-authored-by: karishma-chawla <[email protected]>
  • Loading branch information
3 people authored Dec 14, 2023
1 parent 175425b commit 9213e9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ jobs:
retention-days: 30
if-no-files-found: error
- name: Create GitHub issue on failure
if: failure() && github.event_name != 'pull_request' && github.event_name != 'workflow_dispatch'
if: failure() && github.event_name == 'schedule'
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 bug --label test-failure
# Cleanup
- name: Delete app
Expand Down

0 comments on commit 9213e9c

Please sign in to comment.