Skip to content

[WIP] Update workflow to trigger jobs on label change - #4077

Closed
theTibi with Copilot wants to merge 1 commit into
PMM-14404from
copilot/update-github-jobs-trigger
Closed

[WIP] Update workflow to trigger jobs on label change#4077
theTibi with Copilot wants to merge 1 commit into
PMM-14404from
copilot/update-github-jobs-trigger

Conversation

Copilot AI commented Oct 15, 2025

Copy link
Copy Markdown

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.

Original prompt

can you modify the workflow to trigger the github jobs when the label called build is added or removed, this is just an example, but something like:
jobs:
ansible:
if: ${{ github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'ansible') }}
uses: ./.github/workflows/ansible.yaml


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@theTibi theTibi closed this Oct 15, 2025
Copilot AI requested a review from theTibi October 15, 2025 19:32
@ademidoff
ademidoff deleted the copilot/update-github-jobs-trigger branch January 27, 2026 21:03
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