Skip to content

Commit

Permalink
check existing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
khaledyoussef24 committed Jun 26, 2024
1 parent 8e7eddd commit d1fddc4
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions .github/workflows/grid_client_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,26 +133,9 @@ jobs:
steps.zdb.outcome != 'success' ||
steps.deleteall.outcome != 'success'
run: exit 1
continue-on-error: true



- name: Check for duplicate issues
id: check_duplicates
uses: wow-actions/potential-duplicates@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
filter: ''
exclude: ''
label: potential-duplicate
state: all
threshold: 0.6
reactions: 'eyes, confused'
comment: >
The Tests failed today also.

- name: Create GitHub Issue on Failure
if: failure() && steps.check_duplicates.outputs.duplicate == 'false' && '$(date +%u)' != '5' && '$(date +%u)' != '6'
if: failure() && '$(date +%u)' != '5' && '$(date +%u)' != '6'
uses: dacbd/create-issue-action@main
with:
token: ${{ github.token }}
Expand All @@ -177,4 +160,4 @@ jobs:
Kvstore: ${{ steps.kvstore.outcome }}
Zdb: ${{ steps.zdb.outcome }}
Delete all contracts: ${{ steps.deleteall.outcome }}
labels: type_bug, grid_client
labels: type_bug, grid_client

0 comments on commit d1fddc4

Please sign in to comment.