Skip to content

Update GitHub workflows: enhance build-and-test.yml with concurrency and caching#25322

Merged
voloagent merged 2 commits intorel-10.3from
skoc/github-action
Apr 28, 2026
Merged

Update GitHub workflows: enhance build-and-test.yml with concurrency and caching#25322
voloagent merged 2 commits intorel-10.3from
skoc/github-action

Conversation

@skoc10
Copy link
Copy Markdown
Contributor

@skoc10 skoc10 commented Apr 28, 2026

No description provided.

skoc10 and others added 2 commits April 27, 2026 16:10
…and caching, and disable cancel-workflow.yml
…ild-and-test.yml, codeql-analysis.yml, and image-compression.yml; update cancel-workflow.yml comments

Co-authored-by: Copilot <copilot@github.com>
@skoc10 skoc10 added this to the 10.3-patch milestone Apr 28, 2026
@skoc10 skoc10 requested review from Copilot and voloagent April 28, 2026 05:50
@skoc10 skoc10 added the devops label Apr 28, 2026
@skoc10 skoc10 changed the title Skoc/GitHub action Update GitHub workflows: enhance build-and-test.yml with concurrency and caching Apr 28, 2026
@voloagent voloagent merged commit ae4ed38 into rel-10.3 Apr 28, 2026
3 of 4 checks passed
@voloagent voloagent deleted the skoc/github-action branch April 28, 2026 05:52
Copy link
Copy Markdown
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

This PR updates GitHub Actions workflows to handle run cancellation via native concurrency blocks (replacing the archived cancel-workflow action) and modernizes parts of the CI workflow configuration.

Changes:

  • Add concurrency blocks to several workflows to auto-cancel in-progress runs on new pushes/updates.
  • Disable the legacy cancel-workflow workflow (styfle action archived upstream).
  • Update build-and-test workflow actions, add NuGet caching, and switch Codecov upload to OIDC with conditional execution.

Reviewed changes

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

Show a summary per file
File Description
.github/workflows/image-compression.yml Adds native concurrency; removes explicit token input for image compression action.
.github/workflows/codeql-analysis.yml Adds native concurrency to CodeQL workflow.
.github/workflows/cancel-workflow.yml Disables legacy cancellation workflow and replaces it with a no-op.
.github/workflows/build-and-test.yml Adds concurrency, updates action versions, adds NuGet cache, updates Codecov upload configuration.
.github/workflows/angular.yml Adds native concurrency to Angular workflow.

@@ -23,5 +28,3 @@ jobs:

- name: Compress Images
uses: calibreapp/image-actions@main
Copy link

Copilot AI Apr 28, 2026

Choose a reason for hiding this comment

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

calibreapp/image-actions@main is referenced by a moving branch, which is a supply-chain risk and can make builds non-reproducible if upstream changes. Pin this to a tagged release or a specific commit SHA instead of main.

Suggested change
uses: calibreapp/image-actions@main
uses: calibreapp/image-actions@1.0.0

Copilot uses AI. Check for mistakes.
Comment on lines 62 to +65
steps:
- uses: jlumbroso/free-disk-space@main
- uses: PSModule/install-powershell@v1
with:
Version: latest
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@master
- uses: jlumbroso/free-disk-space@v1.3.1
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
Copy link

Copilot AI Apr 28, 2026

Choose a reason for hiding this comment

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

The steps: list items are not indented under steps: (they start at the same indentation level as steps:). This makes the workflow YAML invalid and will prevent the job from running. Indent each - uses: / - name: line (and its children) under steps:.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants