Skip to content

ci: update GitHub Actions and add Dependabot#1

Merged
stefan-jansen merged 1 commit into
mainfrom
chore/update-github-actions-and-dependabot
Apr 30, 2026
Merged

ci: update GitHub Actions and add Dependabot#1
stefan-jansen merged 1 commit into
mainfrom
chore/update-github-actions-and-dependabot

Conversation

@stefan-jansen

Copy link
Copy Markdown
Contributor

Summary

  • update GitHub Actions references to current upstream releases
  • add a shared Dependabot config for github-actions and pip updates
  • standardize workflow dependency maintenance across the repo

Updated actions

  • actions/checkout -> v6.0.2
  • astral-sh/setup-uv -> v8.1.0
  • actions/upload-artifact -> v7.0.1
  • actions/download-artifact -> v8.0.1
  • pypa/gh-action-pypi-publish -> v1.14.0
  • cpina/github-action-push-to-another-repository -> v1.7.3
  • codecov/codecov-action -> v6.0.0 (where used)

Validation

  • actionlint .github/workflows/*.yml
  • git diff --check

Copilot AI review requested due to automatic review settings April 30, 2026 15:20

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.

Pull request overview

Updates repository automation by refreshing GitHub Actions references and introducing a shared Dependabot configuration to keep workflow and Python dependencies up to date.

Changes:

  • Bump action versions in CI and release workflows.
  • Add .github/dependabot.yml to manage updates for GitHub Actions and Python (pip ecosystem) dependencies.
  • Standardize dependency update cadence/labels/groups for automation PRs.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
.github/workflows/release.yml Updates action versions used for building, publishing, and creating GitHub releases.
.github/workflows/ci.yml Updates action versions used across lint/typecheck/test/build jobs.
.github/dependabot.yml Adds weekly grouped Dependabot updates for GitHub Actions and pip dependencies.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 41 to +45
permissions:
id-token: write
steps:
- name: Download build artifacts
uses: actions/download-artifact@v5
uses: actions/download-artifact@v8.0.1

Copilot AI Apr 30, 2026

Copy link

Choose a reason for hiding this comment

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

The publish job sets job-level permissions to only id-token: write, which implicitly disables other scopes. actions/download-artifact typically requires actions: read (and may require contents: read depending on repo settings), so this step is likely to fail with 403. Consider adding the minimal additional permissions needed for downloading artifacts while keeping the job locked down for the PyPI publish step.

Copilot uses AI. Check for mistakes.
Comment thread .github/dependabot.yml
Comment on lines +20 to +37

- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "06:15"
timezone: "America/New_York"
open-pull-requests-limit: 10
labels:
- "dependencies"
- "python"
commit-message:
prefix: "deps"
groups:
python-dependencies:
patterns:
- "*"

Copilot AI Apr 30, 2026

Copy link

Choose a reason for hiding this comment

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

This repo uses uv.lock (and CI runs uv sync), but Dependabot pip updates won't update uv.lock. That will likely produce Dependabot PRs that change pyproject.toml without updating the lockfile, breaking uv sync in CI. Consider disabling the pip ecosystem here, or adding an automated step/bot workflow that updates and commits uv.lock for Dependabot PRs.

Suggested change
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "06:15"
timezone: "America/New_York"
open-pull-requests-limit: 10
labels:
- "dependencies"
- "python"
commit-message:
prefix: "deps"
groups:
python-dependencies:
patterns:
- "*"

Copilot uses AI. Check for mistakes.
Comment thread .github/workflows/ci.yml
Comment on lines +17 to 21
- uses: actions/checkout@v6.0.2

- name: Install uv
uses: astral-sh/setup-uv@v7
uses: astral-sh/setup-uv@v8.1.0
with:

Copilot AI Apr 30, 2026

Copy link

Choose a reason for hiding this comment

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

These workflows pin actions by version tag (e.g., @v6.0.2). GitHub recommends pinning third-party actions to a full commit SHA to reduce supply-chain risk from retagging. If you want automated upkeep, Dependabot can update the pinned SHAs.

Copilot uses AI. Check for mistakes.
@stefan-jansen stefan-jansen merged commit 0dbc11b into main Apr 30, 2026
9 checks passed
@stefan-jansen stefan-jansen deleted the chore/update-github-actions-and-dependabot branch April 30, 2026 15:27
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.

2 participants