ci(deps): update the CodeQL actions together with a Dependabot group

Open Beginner friendly
#525 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
1-3 hours
Newbie friendliness
90/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
github-actions, yaml
Domain
ci-cd

Research direction

Open .github/dependabot.yml and find the github-actions entry. Add a group covering github/codeql-action* and a comment explaining why those actions must update together; the optional group for other actions can be considered separately. Check that the configuration is valid and that all three CodeQL actions are covered by one group.

Written by the indexing model from the issue text.

Description

good first issue help wanted tooling

Summary

Dependabot opens one pull request per action. The three github/codeql-action steps (init, analyze, upload-sarif) must always use the same version, so separate pull requests fail the CodeQL check and have to be closed and redone by hand. Group them in .github/dependabot.yml.

Why this matters

A bump that cannot pass on its own wastes maintainer and contributor time, and it happened with #518, #519 and #520. Grouping makes the update one pull request that passes.

Proposed solution

  • In the github-actions entry of .github/dependabot.yml add groups: codeql: { patterns: ["github/codeql-action*"] }.
  • Optionally group all other action updates (actions: { patterns: ["*"], exclude-patterns: ["github/codeql-action*"] }) so they arrive in one weekly pull request.
  • Add one comment in the file explaining why CodeQL is grouped.

Where to start in the code

  • .github/dependabot.yml
  • Reference: #524 (the manual combined bump)

Acceptance criteria

  • The file is valid (GitHub shows no Dependabot configuration error under Insights > Dependency graph > Dependabot).
  • The three CodeQL actions are covered by one group.

Tests

  • No code tests. After merging, confirm the next Dependabot run opens a single grouped pull request.

Notes

  • N
  • e
  • w
  • t
  • o
  • o
  • p
  • e
  • n
  • s
  • o
  • u
  • r
  • c
  • e
  • ?
  • R
  • e
  • a
  • d
  • `
  • d
  • o
  • c
  • s
  • /
  • F
  • I
  • R
  • S
  • T
  • _
  • C
  • O
  • N
  • T
  • R
  • I
  • B
  • U
  • T
  • I
  • O
  • N
  • .
  • m
  • d
  • `
  • a
  • n
  • d
  • c
  • o
  • m
  • m
  • e
  • n
  • t
  • t
  • o
  • c
  • l
  • a
  • i
  • m
  • t
  • h
  • i
  • s
  • .

Want to work on this?

Comment on this issue to claim it, then follow First contribution and CONTRIBUTING.md. Keep the pull request to this one feature, use a conventional title (for example ci(deps): update the CodeQL actions together with a Dependabot group), write Closes #<this issue> in the description, and run npx prettier --write on the files you changed before pushing. Questions are welcome here or on Discord.


Generated by Claude Code

Dominant language
TypeScript
Stars
6
Forks
6
Avg merge
6h 7m
Merged PRs (30d)
167

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Haseeb-MernStack/commune

All issues in Haseeb-MernStack/commune

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.