Skip to content

Commit

Permalink
Pass changelog-test when no code is modified (#439)
Browse files Browse the repository at this point in the history
* Only fail changelog-test if montepy/ was updated
  • Loading branch information
tjlaboss authored Jul 9, 2024
1 parent 6f533c7 commit 50daa80
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,11 @@ jobs:
id: changes
with:
filters: |
change:
changelog:
- 'doc/source/changelog.rst'
- if: steps.changes.outputs.change == 'false'
code:
- 'montepy/**'
- if: (steps.changes.outputs.changelog == 'false') && steps.changes.outputs.code == 'true'
run: |
echo "Changelog not updated"
exit 1

0 comments on commit 50daa80

Please sign in to comment.