Skip to content

ci: add Dependabot and dependency review, pin and align GitHub Actions - #249

Open
testableapple wants to merge 3 commits into
developfrom
ci/dependabot-dependency-review
Open

testableapple wants to merge 3 commits into
developfrom
ci/dependabot-dependency-review

Conversation

@testableapple

@testableapple testableapple commented Dec 3, 2026 •

Copy link
Copy Markdown

Goal

Stop pull requests from adding dependencies with known vulnerabilities, keep dependencies and GitHub Actions up to date, and make sure CI runs the actions we reviewed. The iOS repos get the same setup, for example in stream-chat-swift#4446.

Part of CHA-7207. The process is described in DevSecOps for SDK repositories.

Changes

  • Adds a Dependency Review check on every PR. It fails when the PR adds or changes a dependency to a version with a known vulnerability, shows each changed dependency's OpenSSF Scorecard and warns below 3. It calls the GitHub API, so it runs on the github-public-amd64 runner group.
  • Adds Dependabot version updates for GitHub Actions. They run weekly, a new version must be 4 days old before it is proposed, and the updates arrive as one grouped PR.
  • Pins every GitHub Action to a commit SHA, with its release in a comment. The Unity build and test actions stay on the releases they were on, and the standard actions/* ones move to their current releases. A tag that is moved later cannot change what runs, and Dependabot keeps the pins up to date.

Testing

  • The checks on this PR are the first CI run of these changes.
  • The release, publish and scheduled workflows changed too and do not run on a PR. Watch their next run.

@getstream-metis

Copy link
Copy Markdown

👋 Hi Alexey, want a second pair of eyes on this?

I'm Jeffery, Stream's review agent. I look for bugs, regressions, missing tests and slow paths, and I only post findings I've checked against the code.

  • Review this PR

Or comment /jeffery review. I'll stay quiet unless you ask.

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