Skip to content

Commit

Permalink
Merge branch 'main' into jmm/update-spackage-v1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dholladay00 committed Jul 13, 2023
2 parents b960075 + da716dc commit d0f7331
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: git diff --exit-code --compact-summary
id: no_change
- name: create branch
if: ${{ steps.no_change.conclusion == 'failure' }}
if: ${{ failure() && steps.no_change.conclusion == 'failure' }}
run: |
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
Expand All @@ -40,7 +40,7 @@ jobs:
git commit -m "spack updates"
git push -f --set-upstream origin github-bot/update_spackages
- name: create pull request
if: ${{ steps.no_change.conclusion == 'failure' }}
if: ${{ failure() && steps.no_change.conclusion == 'failure' }}
run: gh pr create -B main -H github-bot/update_spackages --title 'Update spackages' --body 'Created by Github action'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d0f7331

Please sign in to comment.