Skip to content

Commit

Permalink
automating creating issues for failing nightly tests (#2836)
Browse files Browse the repository at this point in the history
* automating creating issues

* adding issue body adding issue creation for all networks
  • Loading branch information
khaledyoussef24 authored Jun 6, 2024
1 parent ccab3f0 commit 3195d56
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/grid_client_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,32 @@ jobs:
steps.zdb.outcome != 'success' ||
steps.deleteall.outcome != 'success'
run: exit 1

- name: Create GitHub Issue on Failure
uses: dacbd/create-issue-action@main
with:
token: ${{ github.token }}
title: |
${{ github.workflow }} failed during ${{ github.event_name }} on network ${{ env.NETWORK }}
body: |
## Failure Report:
> [!IMPORTANT]
> Details on failed run: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
- Author: @${{ github.triggering_actor }}
- Branch: `${{ github.ref }}`
- Commit: ${{ github.sha }}
- Network: `${{ env.NETWORK }}`


Dynamic Single Vm: ${{ steps.dynamicsinglevm.outcome }}
Multiple Vm: ${{ steps.multiplevm.outcome }}
Kubernetes: ${{ steps.kubernetes.outcome }}
Vmq Qsfs: ${{ steps.vmqsfs.outcome }}
Kubernetes Qsfs: ${{ steps.kubernetesqsfs.outcome }}
Kvstore: ${{ steps.kvstore.outcome }}
Zdb: ${{ steps.zdb.outcome }}
Delete all contracts: ${{ steps.deleteall.outcome }}
labels: type_bug , grid_client

0 comments on commit 3195d56

Please sign in to comment.