Skip to content

Update breakage: use organization-wide workflow#170

Merged
tmigot merged 5 commits into
JuliaSmoothOptimizers:mainfrom
MaxenceGollier:update-breakage
May 4, 2026
Merged

Update breakage: use organization-wide workflow#170
tmigot merged 5 commits into
JuliaSmoothOptimizers:mainfrom
MaxenceGollier:update-breakage

Conversation

@MaxenceGollier
Copy link
Copy Markdown
Contributor

Copilot AI review requested due to automatic review settings April 27, 2026 13:43
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the repository’s breakage checking setup to rely on organization-wide reusable GitHub Actions workflows (per JuliaSmoothOptimizers/.github#18).

Changes:

  • Replace the in-repo Breakage workflow implementation with a reusable workflow call.
  • Add a workflow-run triggered job to post/update breakage results via the org-wide comment workflow.
  • Remove now-unused local .breakage tooling (script + Project.toml).

Reviewed changes

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

File Description
.github/workflows/CommentBreakage.yml Adds a workflow that triggers on Breakage completion and delegates PR commenting to the org reusable workflow.
.github/workflows/Breakage.yml Replaces the old matrix/build/test/comment logic with an org reusable workflow invocation.
.breakage/get_jso_users.jl Removes obsolete script previously used to compute dependent packages.
.breakage/Project.toml Removes obsolete dependencies for the deleted .breakage script.

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

Comment thread .github/workflows/Breakage.yml Outdated
Comment thread .github/workflows/CommentBreakage.yml Outdated
@tmigot
Copy link
Copy Markdown
Member

tmigot commented Apr 29, 2026

Hi @MaxenceGollier ! Thanks for this, I think copilot's comments are valid for this PR and the others as well. Thanks

@MaxenceGollier
Copy link
Copy Markdown
Contributor Author

Ha, i didn't catch this. Thanks for the comment!

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

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


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

Comment thread .github/workflows/Breakage.yml Outdated
})
}
breakage:
uses: JuliaSmoothOptimizers/.github/.github/workflows/Breakage.yml@main No newline at end of file
Copy link

Copilot AI May 1, 2026

Choose a reason for hiding this comment

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

The reusable workflow reference is pinned to the moving main branch. For supply-chain safety and reproducibility, consider pinning this to an immutable ref (a tag or commit SHA) and updating intentionally when needed.

Suggested change
uses: JuliaSmoothOptimizers/.github/.github/workflows/Breakage.yml@main
uses: JuliaSmoothOptimizers/.github/.github/workflows/Breakage.yml@0123456789abcdef0123456789abcdef01234567

Copilot uses AI. Check for mistakes.
Comment thread .github/workflows/CommentBreakage.yml Outdated

jobs:
comment_pr:
uses: JuliaSmoothOptimizers/.github/.github/workflows/CommentBreakage.yml@main No newline at end of file
Copy link

Copilot AI May 1, 2026

Choose a reason for hiding this comment

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

This reusable workflow call is pinned to the moving main branch. Consider pinning to a tag or commit SHA to avoid unexpected behavior changes and reduce supply-chain risk.

Suggested change
uses: JuliaSmoothOptimizers/.github/.github/workflows/CommentBreakage.yml@main
uses: JuliaSmoothOptimizers/.github/.github/workflows/CommentBreakage.yml@<FULL_40_CHAR_COMMIT_SHA>

Copilot uses AI. Check for mistakes.
Comment thread .github/workflows/CommentBreakage.yml Outdated
@tmigot
Copy link
Copy Markdown
Member

tmigot commented May 4, 2026

@MaxenceGollier I updated the PR to fix the end of file character, as otherwise the Linter was failing.

@tmigot tmigot merged commit 53908a3 into JuliaSmoothOptimizers:main May 4, 2026
4 of 5 checks passed
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.

3 participants