Skip to content

👷 Modernize CodeQL workflow - #164

Merged
AnandChowdhary merged 1 commit into
masterfrom
chore/upptime-maintenance-20260724
Jul 24, 2026
Merged

👷 Modernize CodeQL workflow#164
AnandChowdhary merged 1 commit into
masterfrom
chore/upptime-maintenance-20260724

Conversation

@AnandChowdhary

Copy link
Copy Markdown
Member

Summary

  • replace the unsupported ubuntu-18.04 runner with ubuntu-latest
  • update CodeQL, checkout, setup-node, and cache actions to their current Node 24-compatible majors
  • add least-privilege CodeQL permissions and a manual trigger for live verification

This supersedes the narrower CodeQL v1 → v4 update in #163.

Test plan

  • Parse workflow YAML and assert triggers, permissions, runner, and action refs
  • actionlint passes
  • Node 14.21.3 / npm 6.14.18: npm ci
  • npm run build
  • npm test -- --runInBand (2 suites, 2 tests)
  • npm run package
  • npm pack --dry-run
  • git diff --check and added-line security scan

After merge, enable and dispatch CodeQL CI once to exercise the updated workflow on the default branch.

@AnandChowdhary
AnandChowdhary merged commit 6118055 into master Jul 24, 2026
6 checks passed
@AnandChowdhary
AnandChowdhary deleted the chore/upptime-maintenance-20260724 branch July 24, 2026 18:07
@upptime upptime locked and limited conversation to collaborators Jul 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants