Skip to content

fix(ci): Change update-cli to use getsentry/github-workflows/updater#411

Open
philprime wants to merge 7 commits intomasterfrom
fix-ci
Open

fix(ci): Change update-cli to use getsentry/github-workflows/updater#411
philprime wants to merge 7 commits intomasterfrom
fix-ci

Conversation

@philprime
Copy link
Member

@philprime philprime commented Feb 4, 2026

Fixes the failing workflows on the main branch

#skip-changelog

@philprime philprime self-assigned this Feb 4, 2026
@philprime philprime marked this pull request as draft February 4, 2026 09:27
@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2026

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


This PR will not appear in the changelog.


🤖 This preview updates automatically when you update the PR.

@philprime philprime marked this pull request as ready for review February 4, 2026 09:34
The update-cli job was refactored from a reusable workflow to a composite
action but was missing job-level outputs. The update-binaries job depends
on outputs from update-cli (originalTag, latestTag, prBranch). Without
these outputs mapped at the job level, the workflow would fail when
trying to access them via needs.update-cli.outputs.*.

Add outputs section to map step outputs to job outputs and add step id
to enable output access.
Copy link
Member

@philipphofmann philipphofmann left a comment

Choose a reason for hiding this comment

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

LGTM

@philprime philprime enabled auto-merge (squash) February 4, 2026 14:02
branches:
- master
- main
- fix-ci
Copy link

Choose a reason for hiding this comment

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

Bug: The workflow trigger includes fix-ci, which appears to be a temporary development branch. This could cause unnecessary workflow runs.
Severity: MEDIUM

Suggested Fix

Remove the fix-ci branch from the list of branches that trigger the update-deps.yml workflow. The trigger should likely only be for the main branch.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: .github/workflows/update-deps.yml#L11

Potential issue: The `update-deps.yml` workflow is configured to trigger on pushes to
the `fix-ci` branch, in addition to the `main` branch. Evidence from the commit history
and the fact that no other workflows reference this branch suggests `fix-ci` was a
temporary branch for testing. If this branch still exists or is pushed to, it will
trigger unnecessary and wasteful workflow runs to update dependencies on a
non-production branch.

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