run citations workflow when current workflow changes + add concurrency check #246
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When PowerGridModel/power-grid-model#571 and #244 happened, we needed to manually run the citations validation check. This adds that and thereby also provides a template for similar actions that only need to happen when certain files change.
Proof that this change works: https://github.com/PowerGridModel/power-grid-model-io/actions/runs/8817491150/job/24203988223?pr=246
In addition, this action introduces the same github actions concurrency checks that the PGM repository has
We had to skip the
python3.9
run onmacos-latest
due to the failure in https://github.com/PowerGridModel/power-grid-model-io/actions/runs/8816931897/job/24202179419?pr=246 which reads