Skip to content

chore: add CODEOWNERS, CITATION and Dependabot - #231

Merged
uniqueg merged 2 commits into
devfrom
chore/metadata
Nov 6, 2026
Merged

uniqueg merged 2 commits into
devfrom
chore/metadata

Conversation

@uniqueg

@uniqueg uniqueg commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

Summary

Adds the metadata files of the org's other repos, as in cloud-registry:

  • .github/CODEOWNERS: * @uniqueg, with cloud-registry's header.
  • CITATION.cff: follows the citation metadata rule.
    • Authors are the people who committed at least 100 lines to dev, ordered by lines. Name aliases and e-mail addresses are merged, and the copy of tesk-core in source/ is not counted.
    • There are no ORCID iDs or affiliations yet. Authors can add theirs.
    • There is no version or DOI until the first release under the new release process (ci: release charts from v* tags #222).
    • The lint job validates the file (cffconvert --validate).
  • .github/dependabot.yml: targets dev, monthly, grouped.
    • Ecosystems: uv (the locked tools), github-actions (the workflows and the two composite actions) and pre-commit.
    • No helm entry, because the chart has no dependencies. No docker entry, because the repo builds no image.

Closes #223

Verification

  • cffconvert --validate -i CITATION.cff (2.0.0): valid.
  • actionlint .github/workflows/ci.yml: pass.
  • CI on b94e9c9: all jobs pass, including the new citation validation in Lint.

Lane

Light lane: metadata and configuration only, plus one validation step in CI (no secrets, permissions or publishing). I reviewed the diff myself.

Declined review findings

None.

Open questions

None.

🤖 Generated with Claude Code

Summary by Sourcery

Add repository metadata and automated dependency maintenance configuration, including CI validation for citation metadata.

Enhancements:

  • Add repository ownership and citation metadata files.
  • Configure monthly grouped Dependabot updates for Python, GitHub Actions, and pre-commit dependencies.

CI:

  • Validate CITATION.cff metadata as part of the lint workflow.

As in cloud-registry: code owner @uniqueg; citation metadata with the
authors who committed at least 100 lines to `dev` (not counting the copy
of tesk-core in `source/`), without a version until the first release
under the new release process, validated in the lint job; Dependabot
for the locked tools, GitHub Actions (including the composite actions)
and pre-commit hooks, monthly, grouped, targeting `dev`.

Closes #223

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@sourcery-ai

sourcery-ai Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Reviewer's Guide

Adds repository metadata and automated dependency-update configuration: CODEOWNERS, contributor citation metadata with CI validation, and grouped monthly Dependabot updates for uv, GitHub Actions, and pre-commit dependencies targeting dev.

File-Level Changes

Change Details Files
Add repository ownership and citation metadata.
  • Add a wildcard CODEOWNERS rule assigning ownership to @uniqueg.
  • Add CITATION.cff with contributor metadata derived from qualifying commits, leaving release-specific fields unset.
  • Validate citation metadata in the CI lint job using cffconvert 2.0.0.
.github/CODEOWNERS
CITATION.cff
.github/workflows/ci.yml
Configure grouped monthly Dependabot updates for development tooling.
  • Target uv, GitHub Actions, and pre-commit dependencies at the dev branch.
  • Cover workflow and composite-action directories with grouped updates.
  • Use increase-if-necessary versioning for uv and omit unsupported or unused Helm and Docker ecosystems.
.github/dependabot.yml

Possibly linked issues


Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@uniqueg
uniqueg marked this pull request as ready for review November 6, 2026 05:11

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey - I've found 2 issues

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path=".github/dependabot.yml" line_range="12" />
<code_context>
+    directory: /
+    schedule:
+      interval: monthly
+    target-branch: dev
+    versioning-strategy: increase-if-necessary
+    groups:
</code_context>
<issue_to_address>
**Security updates skip CI**

When a Dependabot security-update PR targets the default branch `main`, the CI workflow filters `pull_request` events to `dev`, so the security update receives no checks and maintainers can merge it unvalidated.

Update the workflow’s `pull_request` branch filter to run CI for security-update PRs targeting `main`.

Also at `.github/dependabot.yml:27`, `.github/dependabot.yml:36`.
</issue_to_address>

### Comment 2
<location path=".github/dependabot.yml" line_range="32" />
<code_context>
+      github-actions:
+        patterns: ["*"]
+  # Hook revisions in `.pre-commit-config.yaml`
+  - package-ecosystem: pre-commit
+    directory: /
+    schedule:
</code_context>
<issue_to_address>
**Docs dependency updates missing**

The issue asks Dependabot to cover the documentation’s Python packages once they exist; `documentation/requirements.txt` already lists Sphinx, sphinx-rtd-theme, and myst-parser, but the configuration has no `pip` entry. Add a pip update configuration for that requirements file, targeting `dev` with monthly grouped updates.
</issue_to_address>

Linked issues

#223 chore: add CODEOWNERS, CITATION and Dependabot · 3 of 4 met

# Requirement Status Notes
1 Add CODEOWNERS with the cloud-registry header and * @uniqueg. ✅ Met
2 Add citation metadata with authors from the history and README, and no version until the first release. ✅ Met CITATION.cff includes an author list and omits a version.
3 Configure Dependabot to run monthly, group updates, target dev, and cover GitHub Actions, pre-commit, and documentation Python packages once they exist. 🟡 Partly met The configuration covers GitHub Actions, pre-commit, and uv, with monthly grouped updates targeting dev, but omits the documentation’s existing Python requirements.
4 Have CI validate CITATION.cff. ✅ Met The lint job runs cffconvert --validate -i CITATION.cff.

Sourcery assessment

Approval pending. 2 findings to address first.

Blocking findings: .github/dependabot.yml:12, .github/dependabot.yml:32


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

Comment thread .github/dependabot.yml Resolved
Comment thread .github/dependabot.yml Resolved
@uniqueg
uniqueg merged commit 471d11f into dev Nov 6, 2026
15 checks passed
@uniqueg
uniqueg deleted the chore/metadata branch November 6, 2026 05:18
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.

chore: add CODEOWNERS, CITATION and Dependabot

1 participant