Skip to content

Commit 1852bc6

Browse files
authored
Add check_changes in diskgalaxy workflow (#1558)
### Description DiskGalaxy workflow is preventing a trivial PR from passing all tests immediately. This PR fixes it. ### Checklist _Before this pull request can be reviewed, all of these tasks should be completed. Denote completed tasks with an `x` inside the square brackets `[ ]` in the Markdown source below:_ - [ ] I have added a description (see above). - [ ] I have added a link to any related issues (if applicable; see above). - [ ] I have read the [Contributing Guide](https://github.com/quokka-astro/quokka/blob/development/CONTRIBUTING.md). - [ ] I have added tests for any new physics that this PR adds to the code. - [ ] *(For quokka-astro org members)* I have manually triggered the GPU tests with the magic comment `/azp run`.
1 parent f2d7811 commit 1852bc6

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/rocm-diskgalaxy-container.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,15 @@ env:
2323
IS_INTERNAL_PR: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository }}
2424

2525
jobs:
26+
check_changes:
27+
uses: ./.github/workflows/check_changes.yml
28+
with:
29+
workflow_file: '.github/workflows/rocm-diskgalaxy-container.yml'
30+
2631
build-and-push:
2732
runs-on: ubuntu-latest
33+
needs: check_changes
34+
if: needs.check_changes.outputs.has_non_docs_changes == 'true'
2835

2936
steps:
3037
- name: Checkout

0 commit comments

Comments
 (0)