Skip to content

Refactor update-codeql workflow to create a PR, not a release#316

Merged
data-douser merged 4 commits intomainfrom
dd/release-prep/1
Mar 3, 2026
Merged

Refactor update-codeql workflow to create a PR, not a release#316
data-douser merged 4 commits intomainfrom
dd/release-prep/1

Conversation

@data-douser
Copy link
Collaborator

What This PR Contributes

This pull request refactors and partially reverts the CodeQL CLI update workflow to streamline the update process and separate it from the release pipeline. The workflow now focuses on detecting updates, updating version-bearing files, running validation steps, and creating a pull request instead of orchestrating a full release. Additionally, improvements were made to error handling, messaging, and workflow concurrency.

Future Works

N/A

- Replaces the 4-job release pipeline with a 2-job
  PR-creation approach.
- Also adds a concurrency guard to release.yml to
  prevent racing releases for the same version.
- Replaces the 4-job release pipeline with a 2-job
  PR-creation approach.
- Also adds a concurrency guard to release.yml to
  prevent racing releases for the same version.
@data-douser data-douser requested a review from Copilot February 27, 2026 01:24
@data-douser data-douser self-assigned this Feb 27, 2026
@data-douser data-douser added the bug Something isn't working label Feb 27, 2026
@data-douser data-douser marked this pull request as ready for review February 27, 2026 01:57
Copy link
Contributor

@knewbury01 knewbury01 left a comment

Choose a reason for hiding this comment

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

everything looks good to me, I added a couple of minor /optional comments but they arent too crucial

Copy link
Contributor

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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

This commit:

- adds the scripts/upgrade-packs.sh script to provide a standard
  script for a common repo maintenance task;
- updates the update-codeql.yml actions workflow in order to:
  - address PR review comments;
  - run the new upgrade-packs.sh script as a step in the workflow.
Copy link
Contributor

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 3 out of 3 changed files in this pull request and generated no new comments.

@data-douser data-douser merged commit 43725a5 into main Mar 3, 2026
9 checks passed
@data-douser data-douser deleted the dd/release-prep/1 branch March 3, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants