Skip to content

Commit

Permalink
Merge pull request #3031 from threefoldtech/development_automating_is…
Browse files Browse the repository at this point in the history
…sue_creation

fixing conditions for workflow
  • Loading branch information
khaledyoussef24 authored Jun 27, 2024
2 parents f0ac1e1 + d1fddc4 commit 3334277
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/grid_client_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,15 +131,11 @@ jobs:
steps.kubernetesqsfs.outcome != 'success' ||
steps.kvstore.outcome != 'success' ||
steps.zdb.outcome != 'success' ||
steps.deleteall.outcome != 'success'
steps.deleteall.outcome != 'success'
run: exit 1

- name: Get the day of the week
id: dayofweek
run: echo "DAY_OF_WEEK=$(date +%u)" >> $GITHUB_ENV

- name: Create GitHub Issue on Failure
if: needs.teststatus.result == 'failure' && env.DAY_OF_WEEK != '5' && env.DAY_OF_WEEK != '6'
if: failure() && '$(date +%u)' != '5' && '$(date +%u)' != '6'
uses: dacbd/create-issue-action@main
with:
token: ${{ github.token }}
Expand Down

0 comments on commit 3334277

Please sign in to comment.