Skip to content

ci: drop the workflows without a subject in this repo - #6

Open
markuslf wants to merge 1 commit into
mainfrom
ci/trim-workflow-set
Open

ci: drop the workflows without a subject in this repo#6
markuslf wants to merge 1 commit into
mainfrom
ci/trim-workflow-set

Conversation

@markuslf

Copy link
Copy Markdown
Member

The repository holds one LESS file, one SVG, module.info and three Markdown
files, and carried six workflows.

Removed:

  • dependency-review: reviews dependency manifests changed in a pull request.
    The only manifest here is .github/pre-commit/requirements.txt, which
    Dependabot already watches, so the job ran on every pull request with nothing
    to review.
  • scorecard: measures the supply-chain posture of a repository that others
    pull in as a dependency. This one ships a stylesheet that gets copied into
    /usr/share/icingaweb2/modules.

Kept:

  • codeql: its language matrix is actions, and auto-merge and
    pre-commit-autoupdate run with write permissions and an app token, so the
    workflow analysis has a subject. The company standard also asks for code
    scanning per repository.
  • dependabot including the pip ecosystem, auto-merge and
    pre-commit-autoupdate: together they keep .github/pre-commit/ in sync
    with the other repositories, where it has to stay byte-identical.

Added a lessc --lint hook. Icinga Web compiles the theme together with its
own and every module's LESS, so a parse error in it takes the whole stylesheet
down, not just the theme. The generic hooks in place so far never looked at the
only source file in the repository.

stylelint was tried first and dropped: pre-commit installs node packages into
its own environment while stylelint resolves extends and customSyntax
relative to the config in the repository, so the LESS syntax never loads and it
fails on the first // comment.

`dependency-review` reviews dependency manifests changed in a pull request.
The only manifest here is `.github/pre-commit/requirements.txt`, which
Dependabot already watches, so the job runs on every pull request without
anything to review.

`scorecard` measures the supply-chain posture of a repository others pull in
as a dependency. This one ships a stylesheet that gets copied into
/usr/share/icingaweb2/modules.

Adds a `lessc --lint` hook instead: the theme is a single LESS file that
Icinga Web compiles together with its own and every module's LESS, so a parse
error takes the whole stylesheet down, not just the theme.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant