Skip to content

Update GitHub Actions, pin them by SHA, and add Dependabot - #1874

Merged
sequba merged 11 commits into
developfrom
ci/update-and-pin-actions
Nov 4, 2026
Merged

sequba merged 11 commits into
developfrom
ci/update-and-pin-actions

Conversation

@sequba

@sequba sequba commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Context

The PR updates every GitHub Action in CI to its current release, pins each one to a full commit SHA, and adds Dependabot to keep them current.

  • Why: Most workflows pinned actions from 2019–2020 (checkout v2.0.0, setup-node v1.4.4, codecov-action v1.0.13, sticky-pull-request-comment v1.6.0). Those versions run on retired Node runtimes and miss years of fixes. The CodeQL workflows used movable tags (@v2, @v3, @v4), so whoever controls the tag controls code that runs with security-events: write. Nothing proposed updates, because the repository had no dependabot.yml.
  • What changed:
    • .github/dependabot.yml (new): weekly updates for GitHub Actions (grouped into one PR) and npm (at most 5 open PRs).
    • 9 workflow files: each uses: points to a full SHA with the version in a comment: checkout v7.0.1, setup-node v7.1.0, codecov-action v7.1.1, codeql-action v4.39.2, sticky-pull-request-comment v3.0.5.
    • test.yml: the Codecov token moves from env to the token input, as the current action expects.
    • codeql.yml: drops the unused workflow-level pull-requests: write permission.
  • Result: No action runs from a movable tag, and Dependabot raises a PR when a pinned action or an npm dependency has a new release.

Rationale

CI runners and dependencies need the same patching as the code they build. A pinned action that never moves stops receiving security fixes, and a tag-referenced action can change under the project without review. Pinning by SHA makes every change to CI code a reviewed PR, and Dependabot raises those PRs as soon as a new release exists.

How did you test your changes?

Not run locally: the edits were made in the GitHub web editor. The workflows on this PR are the test. Check that every job passes, including CodeQL, Performance and the Codecov upload.

Major-version jumps a reviewer should know about:

Action From To What changed in between
actions/checkout v2.0.0 / v2.3.4 / unlabeled SHA v7.0.1 Node 24 runtime; credentials kept in a separate file
actions/setup-node v1.4.4 v7.1.0 Node 24 runtime; automatic npm caching when package.json has a packageManager field
codecov/codecov-action v1.0.13 v7.1.1 Uses the Codecov CLI; token passed as an input
marocchino/sticky-pull-request-comment v1.6.0 v3.0.5 Skips the comment when the body is empty
github/codeql-action @v2 / @v3 tags v4.39.2 Node 24 runtime

Compatibility with Excel and Google Sheets

Not applicable.

Public API changes

None.

Out of scope and follow-ups

  • codeql.yml and codeql-advanced.yml both analyze JavaScript on every PR. One of them can probably go.
  • Turning on Dependabot alerts and security updates in Settings → Code security.

Types of changes

  • Breaking change (existing functionality no longer works as before) – agreed with the maintainers
  • New feature or improvement (a non-breaking change that adds functionality)
  • Bug fix (a non-breaking change that fixes an issue)
  • Additional language file, or a change to an existing language file (translations)
  • Change to the documentation

CI configuration only.

Related issues

None.

Checklist

  • My pull request meets the Definition of Done.
  • I have signed the Contributor License Agreement.
  • I read my own diff end to end before requesting a review.
  • I added a CHANGELOG.md entry – or none is needed (docs, tests or tooling only).
  • I updated the documentation and JSDoc to match the change.
  • Breaking change only: I added a section to the migration guide.
  • I updated the dev-docs/ pages this change affects – or none needed it.

🤖 Generated with Claude Code

https://claude.ai/code/session_01KD7f9X9Hm2z4bZzpssoqcP


Note

Medium Risk
Major-version CI action upgrades can break jobs until workflows are validated; pinning and Dependabot reduce tag-supply-chain risk but still change how security scanning and coverage upload run.

Overview
Adds Dependabot (.github/dependabot.yml) for weekly GitHub Actions updates (one grouped PR) and npm updates (cap of 5 open PRs), with the expectation that pinned SHAs and version comments stay in sync.

Across nine workflows, every third-party action now uses a full commit SHA plus a version comment instead of old pins or movable tags (@v2/@v3/@v4). Notable bumps: actions/checkout v7.0.1, actions/setup-node v7.1.0, github/codeql-action v4.39.2, codecov/codecov-action v7.1.1, and marocchino/sticky-pull-request-comment v3.0.5.

Smaller workflow tweaks: test.yml passes the Codecov secret via the action’s token input (replacing env); codeql.yml drops unused workflow-level pull-requests: write.

Reviewed by Cursor Bugbot for commit 80e183e. Bugbot is set up for automated code reviews on this repo. Configure here.

sequba and others added 10 commits November 4, 2026 08:26
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KD7f9X9Hm2z4bZzpssoqcP
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KD7f9X9Hm2z4bZzpssoqcP
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KD7f9X9Hm2z4bZzpssoqcP
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KD7f9X9Hm2z4bZzpssoqcP
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KD7f9X9Hm2z4bZzpssoqcP
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KD7f9X9Hm2z4bZzpssoqcP
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KD7f9X9Hm2z4bZzpssoqcP
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KD7f9X9Hm2z4bZzpssoqcP
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
🔵 In progress
View logs
hyperformula-docs 80e183e Nov 04 2026, 07:52 AM

@cursor cursor Bot 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.

Stale Bugbot comment from a previous run.

Comment thread .github/dependabot.yml
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 5

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Dependabot PRs target wrong branch

Medium Severity

Dependabot has no target-branch, so version-update PRs open against master. This repository requires pull requests to target develop.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 02c724d. Configure here.

@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Performance comparison of head (80e183e) vs base (0f902d9)

                                     testName |    base |    head |  change
---------------------------------------------------------------------------
                                      Sheet A |  486.22 |  492.04 |  +1.20%
                                      Sheet B |  153.72 |   155.8 |  +1.35%
                                      Sheet T |  136.64 |  139.45 |  +2.06%
                                Column ranges |  472.78 |   472.5 |  -0.06%
                                Sorted lookup | 15094.2 | 14580.2 |  -3.41%
Sheet A:  change value, add/remove row/column |   16.91 |   14.84 | -12.24%
 Sheet B: change value, add/remove row/column |  151.59 |  127.76 | -15.72%
                   Column ranges - add column |  158.98 |  147.08 |  -7.49%
                Column ranges - without batch |   476.8 |     448 |  -6.04%
                        Column ranges - batch |     112 |  113.16 |  +1.04%

@sequba
sequba merged commit e01b549 into develop Nov 4, 2026
31 of 34 checks passed
@sequba
sequba deleted the ci/update-and-pin-actions branch November 4, 2026 07:52

@cursor cursor Bot 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.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

There are 2 total unresolved issues (including 1 from previous review).

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 80e183e. Configure here.

Comment thread .github/dependabot.yml
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 5

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Dependabot omits docs npm ecosystem

Low Severity

The npm ecosystem entry only watches /, which covers the workspace packages. docs/ lives outside the workspaces and has its own package.json and lockfile, so portal dependencies would never receive Dependabot updates.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 80e183e. Configure here.

@codecov

codecov Bot commented Nov 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.36%. Comparing base (98e374c) to head (80e183e).
⚠️ Report is 2 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #1874   +/-   ##
========================================
  Coverage    97.36%   97.36%           
========================================
  Files          209      209           
  Lines        16524    16524           
  Branches      3636     3670   +34     
========================================
  Hits         16089    16089           
  Misses         427      427           
  Partials         8        8           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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