Commit Graph

6 Commits

Author SHA1 Message Date
Mikolaj Wielgus 1fe87635bf chore: Run `committed HEAD` in addition to `committed develop..HEAD` in CI
This will make the CI detect malformed commit messages pushed straight
to the development branch without a PR.
2025-05-13 00:33:27 +02:00
Mikolaj Wielgus 594bb51a57 chore: Use `committed` instead of `conventional-pre-commit`
The most important difference in this PR is that we now enforce scope
and subject line length. `conventional-pre-commit`, which we have been
using until now, does not appear to allow that unlike `committed` which
we will be now using.

On the other hand, `committed` doesn't allow to require having a scope,
unlike `conventional-pre-commit`, but I will probably submit them a PR
for this later.

I also find it questionable that disabling particular checks is to be
done by switching boolean options to false. Doing so by string options
would be more future-proof.

Also note that this has a check to make sure the commit message starts
with a verb. I am fine with this myself, but it may be an overkill.
2025-04-30 11:22:23 +00:00
Mikolaj Wielgus c7a5da8b1a ci: remove file inclusions and exclusions
Some PRs don't seem to not run some of the CI steps, and this may be the
cause. The `-j4` flag should be sufficient to avoid straining Codeberg
CI.
2025-03-10 02:45:21 +01:00
Ellen Emilia Anna Zscheile bd698027be ci: only run CI when relevant files changed 2025-01-09 15:21:27 +01:00
Mikolaj Wielgus 71cdc2794d chore(licensing): add REUSE headers to hidden files, `flake.nix`, `index.html`
I ran the following command in Fish shell:

```
reuse annotate --copyright="Topola contributors" --license="MIT" **/.gitignore {.woodpecker/*,.*}.yaml .rustfmt.toml flake.nix index.html
```
2024-12-30 00:18:38 +01:00
Mikolaj Wielgus 59478e0dbe chore(ci): replace running `pre-commit` with just a formatting check
Contrary to what I naively thought, `pre-commit` in CI does not result
in commit messages being checked. Another action `pre-commit` was
doing was running `cargo check`, but this is essentially the same as
building without compilation, and we are testing by building in other
CI-workflows. So we are left with only a formatting check, which does
not need installing and running `pre-commit`.
2024-12-29 03:03:35 +01:00