Skip to content

ci: update GitHub actions, pin to SHAs, add dependabot - #43

Merged
alexrashed merged 1 commit into
mainfrom
ci/pin-github-actions
Aug 31, 2026
Merged

ci: update GitHub actions, pin to SHAs, add dependabot#43
alexrashed merged 1 commit into
mainfrom
ci/pin-github-actions

Conversation

@alexrashed

Copy link
Copy Markdown
Member

Motivation

When working on #42, I saw lots of deprecation warnings in CI.

Changes

  • This PR updates all GitHub actions, pins their hashes, and adds a comment with the version after it (convention for dependabot).
  • Add a dependabot config to update the actions once a week.

Update all actions to their latest releases and pin them to commit SHAs
with a trailing version comment:

  actions/checkout              v4          -> v7.0.1
  actions/setup-python          v5          -> v7.0.0
  pypa/gh-action-pypi-publish   release/v1  -> v1.14.2
  sphinx-notes/pages            v3          -> 3.6

pypa/gh-action-pypi-publish was tracking a mutable branch, so its
contents could change without any change here.

Add a dependabot config for the github-actions ecosystem (weekly, all
actions grouped into a single PR) to keep the pins current.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@alexrashed
alexrashed requested a review from bentsku as a code owner August 31, 2026 09:19

@bentsku bentsku left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

🙈 good catch, thanks for tidying up all of this 🙏

@alexrashed
alexrashed merged commit 0958278 into main Aug 31, 2026
5 checks passed
@alexrashed
alexrashed deleted the ci/pin-github-actions branch August 31, 2026 09:24
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