Skip to content

Sync regression issues to ADO directly from labeler workflow#5555

Open
Navdeep-ss wants to merge 1 commit intomainfrom
user/singhnavdeep/regression-ado-sync
Open

Sync regression issues to ADO directly from labeler workflow#5555
Navdeep-ss wants to merge 1 commit intomainfrom
user/singhnavdeep/regression-ado-sync

Conversation

@Navdeep-ss
Copy link
Copy Markdown
Contributor

GitHub Actions events triggered by GITHUB_TOKEN don't trigger other workflows. When regexLabeler adds the 'regression' label, syncAdo.yml never fires. This adds the ADO sync step directly into the labeler workflow (conditional on regression label being present) so regression bugs automatically create ADO work items.

Changes:

  • Added regression label check via github-script
  • Added conditional Azure login + ADO sync steps
  • Added id-token:write permission for Azure OIDC

GitHub Actions events triggered by GITHUB_TOKEN don't trigger other
workflows. When regexLabeler adds the 'regression' label, syncAdo.yml
never fires. This adds the ADO sync step directly into the labeler
workflow (conditional on regression label being present) so regression
bugs automatically create ADO work items.

Changes:
- Added regression label check via github-script
- Added conditional Azure login + ADO sync steps
- Changed runner to windows-latest (required for Azure CLI action)
- Added id-token:write permission for Azure OIDC

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Navdeep-ss Navdeep-ss requested a review from ambikakunnath April 2, 2026 11:54
@Navdeep-ss
Copy link
Copy Markdown
Contributor Author

@Navdeep-ss please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.

@microsoft-github-policy-service agree [company="{your company}"]

Options:

  • (default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
@microsoft-github-policy-service agree
  • (when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.
@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

@microsoft-github-policy-service agree company="Microsoft"

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