Skip to content

ci: lint the frontend and workflows on pull requests - #667

Merged
DerekRoberts merged 2 commits into
mainfrom
ci/lint-frontend-and-workflows
Oct 11, 2026
Merged

DerekRoberts merged 2 commits into
mainfrom
ci/lint-frontend-and-workflows

Conversation

@DerekRoberts

@DerekRoberts DerekRoberts commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

No required check lints the frontend or the workflows, so Renovate can auto-merge a frontend dependency that breaks lint, or a workflow update that only breaks after merge (merge, close and scheduled workflows don't run on the PR).

Refs #597

Changes

  • New analysis.yml jobs, both listed in Analysis Results needs so they gate merges:
    • Frontend Lint: runs npm run lint in frontend/.
    • Workflow Lint: runs actionlint 1.7.12 (digest-pinned image) over every workflow, with its built-in shellcheck.
  • .github/actionlint.yaml: declares the ubuntu-26.04 runner label, which is newer than actionlint's built-in list.
  • Findings actionlint raised on main, fixed here:
    • .deploy.yml's autoscaling input was typed string, but every caller passes a boolean. It's now a boolean with default true. Helm receives the same value.
    • scheduled.yml: the oc get secrets/pubcode --template={{.data.API_KEY}} braces are quoted (shellcheck SC1083). oc gets the same argument.

Both lints pass locally on this branch.


Thanks for the PR!

Deployments, as required, will be available below:

Please create PRs in draft mode. Mark as ready to enable:

After merge, new images are deployed in:

Frontend lint never ran in CI, and nothing checked workflows that only run after merge or on a schedule, so Renovate could auto-merge a broken one. Both now run in analysis.yml and feed Analysis Results. The fixes actionlint asked for are included: the deploy workflow's autoscaling input is a boolean, and the oc templates in scheduled.yml are quoted.

Refs #597
Copilot AI balanced review requested due to automatic review settings October 9, 2026 23:10
@DerekRoberts DerekRoberts self-assigned this Oct 9, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The lint gates are correctly integrated, and the supporting workflow fixes preserve existing behavior.

0 open findings

What changed in this PR

Adds required frontend and workflow linting to prevent invalid changes from merging.

Changes:

  • Adds frontend ESLint and actionlint merge gates.
  • Configures actionlint for the ubuntu-26.04 runner.
  • Corrects reusable workflow input typing and shell quoting.
File Description
.github/​workflows/​analysis.yml Adds lint jobs to the analysis merge gate.
.github/​workflows/​.deploy.yml Changes autoscaling to a boolean input.
.github/​workflows/​scheduled.yml Quotes OpenShift template expressions.
.github/​actionlint.yaml Registers the newer runner label.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@DerekRoberts
DerekRoberts merged commit 835b1f6 into main Oct 11, 2026
19 checks passed
@DerekRoberts
DerekRoberts deleted the ci/lint-frontend-and-workflows branch October 11, 2026 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants