Skip to content

ci: refine workflow triggers to exclude pull requests and allow manual runs#1885

Closed
Harmanpreet-Microsoft wants to merge 5 commits intoAzure-Samples:mainfrom
Harmanpreet-Microsoft:main
Closed

ci: refine workflow triggers to exclude pull requests and allow manual runs#1885
Harmanpreet-Microsoft wants to merge 5 commits intoAzure-Samples:mainfrom
Harmanpreet-Microsoft:main

Conversation

@Harmanpreet-Microsoft
Copy link
Copy Markdown
Contributor

Purpose

This pull request updates the CI workflow configuration to refine when the workflow is triggered. The main change is to explicitly add triggers for manual runs and pull requests, while ensuring that pull requests do not trigger the workflow for any branch.

Workflow trigger updates:

  • .github/workflows/ci.yml: Added workflow_dispatch to allow manual triggering of the workflow.
  • .github/workflows/ci.yml: Added pull_request trigger with branches-ignore: ['**'] to prevent the workflow from running on pull requests for any branch.
  • ...

Does this introduce a breaking change?

  • Yes
  • No

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code

What to Check

Verify that the following are valid

  • ...

Other Information

@Harmanpreet-Microsoft Harmanpreet-Microsoft closed this by deleting the head repository Sep 8, 2025
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