bakdata / ci-templates

Collection of reusable workflows and composite actions for Github
MIT License
4 stars 1 forks source link

Prevent the auto-doc pre-commit from being run multiple times before merging #164

Closed MichaelKora closed 5 months ago

MichaelKora commented 6 months ago

Right now, when a documentation file is outdated, the pre-commit / git commit command need to be executed at least three time:

  1. Update the file
  2. Format the file
  3. Run an successful execution

It would be ideal if the command can be just executed once and all of those steps will be at once if needed.

Acceptance Criteria

yannick-roeder commented 5 months ago

Executing it multiple times is the expected behaviour by the pre-commit and there is no parameter to configure this further