Skip to content

Fix invalid needs dependencies in ci.yml#27097

Merged
pelikhan merged 2 commits intomainfrom
copilot/fix-syntax-errors-ci-yml
Apr 18, 2026
Merged

Fix invalid needs dependencies in ci.yml#27097
pelikhan merged 2 commits intomainfrom
copilot/fix-syntax-errors-ci-yml

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 18, 2026

ci.yml contained stale needs references to jobs that no longer exist, causing workflow validation failures (job-needs). This change removes those invalid dependencies so the workflow graph is internally consistent.

  • Workflow dependency cleanup

    • Removed needs: validate-yaml from:
      • js-integration-live-api
      • sh-difc-proxy
      • sh-gh-host-pr-checkout-repro
    • Removed needs: build from:
      • integration-marketplace-compile
  • Net effect

    • Eliminates unresolved job references in the CI workflow DAG.
    • Keeps each job gated by changes where intended, without introducing new execution dependencies.
# before
js-integration-live-api:
  needs:
    - changes
    - validate-yaml

# after
js-integration-live-api:
  needs:
    - changes

Copilot AI and others added 2 commits April 18, 2026 22:22
@pelikhan pelikhan marked this pull request as ready for review April 18, 2026 22:56
Copilot AI review requested due to automatic review settings April 18, 2026 22:56
@pelikhan pelikhan merged commit efbb7b1 into main Apr 18, 2026
20 of 21 checks passed
@pelikhan pelikhan deleted the copilot/fix-syntax-errors-ci-yml branch April 18, 2026 22:56
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

Cleans up the GitHub Actions CI workflow by removing stale needs dependencies that referenced jobs which no longer exist, fixing workflow validation failures (job-needs).

Changes:

  • Removed needs: validate-yaml from js-integration-live-api, sh-difc-proxy, and sh-gh-host-pr-checkout-repro.
  • Removed needs: build from integration-marketplace-compile.
Show a summary per file
File Description
.github/workflows/ci.yml Removes invalid needs references so the workflow DAG validates and runs.

Copilot's findings

Tip

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

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

Comment thread .github/workflows/ci.yml
Comment on lines 743 to 746
if: ${{ needs.changes.outputs.has_changes == 'true' && (false) }}
needs:
- changes
- build
runs-on: ubuntu-latest
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