nens / threedi-docs

3Di documentation
https://docs.3di.live/
0 stars 2 forks source link

add gh action to automatically update schematisation checks list and open PR #383

Closed elisalle closed 10 months ago

elisalle commented 10 months ago

In the docs, at https://docs.3di.live/f_problem_solving.html#current-schematisation-checks, there is a list of checks run by the threedi-modelchecker. However, that list is frequently out of date.

This PR adds a GH action, triggered by workflow_dispatch, which automatically updates the list of checks executed to reflect the latest version of threedi-modelchecker as hosted on PyPI. An action will be added to threedi-modelchecker to dispatch this workflow whenever a new version of threedi-modelchecker is released.

reinout commented 10 months ago

Leuke! Ik heb zo'n workflow_dispatch nog nooit zelf gebruikt, dus 100% volgen doe ik het niet, maar het ziet eruit alsof het kan werken. Mergen maar, wat mij betreft, en uittesten.

Los daarvan vroeg ik me af of het wat simpeler zou kunnen, maar dat loopt misschien vast op releases enzo:

elisalle commented 10 months ago

@reinout

elisalle commented 10 months ago

workflow-dispatch kun je handmatig als gebruiker triggeren onder Actions ook via REST vanuit een andere GH action: https://docs.github.com/en/rest/actions/workflows?apiVersion=2022-11-28#create-a-workflow-dispatch-event