Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.

only run CHANGELOG check when source files are modified #5287

Merged
merged 1 commit into from
Jun 25, 2021

Conversation

epwalsh
Copy link
Member

@epwalsh epwalsh commented Jun 25, 2021

This PR makes it so the "Check that CHANGELOG has been updated" CI step will only run when source files (files matching allennlp/*.py) have been modified. This should result in a cleaner looking CI history for pull requests.

@epwalsh epwalsh requested review from AkshitaB and dirkgr June 25, 2021 18:31
- name: Check that CHANGELOG has been updated
if: env.source_files_changed == 'true'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would have hoped that you can put more complicated expressions here, but I guess not?

@epwalsh epwalsh merged commit 672485f into main Jun 25, 2021
@epwalsh epwalsh deleted the changelog-check-conditions branch June 25, 2021 21:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants