Skip to content

Fix validate workflow: update action versions and case-insensitive readme check#4

Merged
seesharprun merged 6 commits into
mainfrom
copilot/fix-validation-workflow
Mar 18, 2026
Merged

Fix validate workflow: update action versions and case-insensitive readme check#4
seesharprun merged 6 commits into
mainfrom
copilot/fix-validation-workflow

Conversation

Copilot AI commented Mar 18, 2026

Copy link
Copy Markdown
Contributor

The validation workflow was failing due to a case-sensitive readme check and outdated action versions.

Changes

  • Case-insensitive readme check: Replaced exact readme.md filename match with find -type f -iname so README.md, Readme.md, etc. all pass, while correctly requiring a regular file (not a directory)
  • Action versions bumped to latest major:
    • actions/checkout: v4v6
    • actions/setup-python: v5v6
    • actions/setup-node: v4v6
    • actions/setup-java: v4v5
    • actions/setup-dotnet: v4v5
    • actions/setup-go: v5v6
  • .NET version: Updated from 9.0 to 10.0
# Before
if [ ! -f "${sample}README.md" ]; then

# After — file-only, case-insensitive, stops at first match
if ! find "${sample}" -maxdepth 1 -type f -iname "readme.md" -print -quit | grep -q .; then

📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.

Copilot AI and others added 4 commits March 18, 2026 16:06
…to v6

Co-authored-by: seesharprun <5067401+seesharprun@users.noreply.github.com>
…ck case-insensitive

Co-authored-by: seesharprun <5067401+seesharprun@users.noreply.github.com>
…or message

Co-authored-by: seesharprun <5067401+seesharprun@users.noreply.github.com>
@seesharprun seesharprun marked this pull request as ready for review March 18, 2026 16:27
Copilot AI review requested due to automatic review settings March 18, 2026 16:27
@seesharprun seesharprun enabled auto-merge (squash) March 18, 2026 16:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 the repository’s GitHub Actions validation workflow to be more tolerant of README filename casing and to modernize referenced GitHub Action versions.

Changes:

  • Make the sample README presence check case-insensitive using find -iname.
  • Bump several actions/* dependencies to newer major tags across all validation jobs.

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

Comment thread .github/workflows/validate.yml Outdated
Comment thread .github/workflows/validate.yml Outdated
Co-authored-by: seesharprun <5067401+seesharprun@users.noreply.github.com>
auto-merge was automatically disabled March 18, 2026 16:33

Head branch was pushed to by a user without write access

Copilot AI requested a review from seesharprun March 18, 2026 16:33
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Sidney Andrews <sidandrews@microsoft.com>
@seesharprun seesharprun merged commit d108af5 into main Mar 18, 2026
6 checks passed
@seesharprun seesharprun deleted the copilot/fix-validation-workflow branch March 18, 2026 17:13
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