Skip to content

Conversation

ianjennings
Copy link
Contributor

No description provided.

Copy link
Contributor

@Copilot 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 modifies the v6 acceptance test workflow to only run when the lint workflow passes successfully, implementing a dependency chain between workflows. The change ensures code quality validation before running expensive acceptance tests.

  • Replaces direct push trigger with workflow_run trigger that depends on lint workflow completion
  • Adds conditional logic to key jobs to check lint workflow success status
  • Maintains manual and pull request trigger capabilities

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

test-setup:
runs-on: ubuntu-latest
# Only run if lint workflow succeeded or if triggered manually/scheduled
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' || github.event_name == 'pull_request' }}
Copy link
Preview

Copilot AI Aug 20, 2025

Choose a reason for hiding this comment

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

The conditional logic is duplicated between jobs. Consider extracting this to a reusable workflow condition or defining it once at the workflow level to improve maintainability.

Copilot uses AI. Check for mistakes.

Copy link
Contributor

Choose a reason for hiding this comment

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

how to do that ??

Copy link
Contributor

Choose a reason for hiding this comment

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

copliot how to do that

@chottuthejimmy
Copy link
Contributor

@ericclemmons when u have a moment, have a look at this.
interesting cuz, technically, as it would be running the workflow of this feature branch, it should run the acceptance tests after the lints passed, but it didn't actually trigger the tests.

I also see this approve workflows to run , first time seeing this
Again not sure if it has something to do with this specific PR or something that's already live and I am just experiencing it now

image

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.

2 participants