Currently, we commit changes in site files on PR branches. The output of some commands that produce changes may differ between workflow runs. Hence, if we run CI on the master branch, CI tries to commit changes and fails.
We should make the output of commands completely controllable so that there are no changes to commit when running CI on master.
The problematic commands are described in the sections below.
Details
Currently, we commit changes in site files on PR branches. The output of some commands that produce changes may differ between workflow runs. Hence, if we run CI on the
master
branch, CI tries to commit changes and fails.We should make the output of commands completely controllable so that there are no changes to commit when running CI on
master
.The problematic commands are described in the sections below.
Command 1 - get Java tooling versions
https://github.com/objectionary/eo-phi-normalizer/actions/runs/11371427995/job/31633491462#step:21:13
The cause is that the Java version isn't fixed in the workflow file.
https://github.com/objectionary/eo-phi-normalizer/blob/500b2517beda23aa36f7c79667c3678219ef60ef/.github/workflows/ghc.yml#L168
Command 2 - the
test
commandThe command may report different time.
https://github.com/objectionary/eo-phi-normalizer/pull/513/commits/c29231f85a640dd88a4f2570eaaee8ca29bce552#diff-c6cc0cdc9ab2083dc0096dba6b67cf01609ad28c431377563b0ec4b241c6a5d3R71
Subtasks