Skip to content

Fix Copilot Setup Steps: build with dotnet, don't run on release tags - #227

Merged
davidnmbond merged 2 commits into
mainfrom
fix/copilot-setup-steps-build
Oct 5, 2026
Merged

davidnmbond merged 2 commits into
mainfrom
fix/copilot-setup-steps-build

Conversation

@davidnmbond

Copy link
Copy Markdown
Contributor

Fixes the "Copilot Setup Steps" workflow, which has failed on every release tag since at least 10.0.227.

  • Build step: it ran npx run build, but there is no run package and no build script in package.json, hence npm error could not determine executable to run. It now sets up .NET 10 and runs dotnet build PanoramicData.Blazor.slnx --configuration Release.
  • Tag pushes: GitHub doesn't apply paths filters to tags, so every release tag also started this workflow, and Publish.ps1 could mistake its failure for a failed release. The push trigger is now limited to main.

This PR changes the workflow file, so the workflow runs on it and shows whether the fix works.

🤖 Generated with Claude Code

… tags

The 'Build application' step ran 'npx run build', which has never worked here (there is no 'run'
package and no build script), so the workflow failed on every release tag. Build the solution with
dotnet instead, and restrict the push trigger to branches so tags no longer start it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@codacy-production

codacy-production Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Coverage ∅ diff coverage · +0.00% coverage variation

Metric Results
Coverage variation ✅ +0.00% coverage variation
Diff coverage ✅ ∅ diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (470f58c) 15712 15712 100.00%
Head commit (de373a8) 15712 (+0) 15712 (+0) 100.00% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#227) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

AI Reviewer: run a review on demand. To trigger the first review automatically, go to your organization or repository integration settings. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

… can build

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@davidnmbond
davidnmbond merged commit d21872c into main Oct 5, 2026
9 checks passed
@davidnmbond
davidnmbond deleted the fix/copilot-setup-steps-build branch October 5, 2026 22:02
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.

1 participant