PowerGridModel / power-grid-model-io

Conversion tool for various grid data formats to power-grid-model
Mozilla Public License 2.0
12 stars 8 forks source link

run citations workflow when current workflow changes + add concurrency check #246

Closed mgovers closed 4 months ago

mgovers commented 4 months ago

When https://github.com/PowerGridModel/power-grid-model/pull/571 and https://github.com/PowerGridModel/power-grid-model-io/pull/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 on macos-latest due to the failure in https://github.com/PowerGridModel/power-grid-model-io/actions/runs/8816931897/job/24202179419?pr=246 which reads

Version 3.9 was not found in the local cache Error: The version '3.9' with architecture 'arm64' was not found for macOS 14.4.1. The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json

sonarcloud[bot] commented 4 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud