Skip to content

ci: add Dependabot and pin GitHub Actions to latest versions#413

Open
andife wants to merge 1 commit intoabseil:mainfrom
andife:main
Open

ci: add Dependabot and pin GitHub Actions to latest versions#413
andife wants to merge 1 commit intoabseil:mainfrom
andife:main

Conversation

@andife
Copy link
Copy Markdown

@andife andife commented Apr 25, 2026

Summary

  • Add .github/dependabot.yml to automatically track updates for GitHub Actions and pip dependencies (weekly schedule, individual PRs per dependency)
  • Pin all GitHub Actions to immutable commit SHAs to prevent supply-chain attacks via mutable tags
  • Update actions to latest releases: actions/checkout v4 → v6.0.2, actions/setup-python v5 → v6.2.0, actions/upload-artifact v4 → v7.0.1, pypa/gh-action-pypi-publish release/v1 → v1.9.0

Details

Each action reference now uses a full commit SHA with the version tag as a comment (e.g. actions/checkout@de0fac2e... # v6.0.2). This ensures the exact code that runs cannot be silently changed by repointing a tag.

Dependabot is configured to open separate PRs per action so each update can be reviewed and merged independently.

Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
@andife andife changed the title upgrade github action version ci: add Dependabot and pin GitHub Actions to latest versions Apr 25, 2026
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