Skip to content

fix: Restrict deploy workflow to manual trigger only#82

Merged
Prajwal-Microsoft merged 1 commit into
mainfrom
psl-workflow-fix
May 15, 2026
Merged

fix: Restrict deploy workflow to manual trigger only#82
Prajwal-Microsoft merged 1 commit into
mainfrom
psl-workflow-fix

Conversation

@Yamini-Microsoft

Copy link
Copy Markdown
Contributor

Summary

Removes push and/or pull_request triggers from the deploy workflow (azure-dev.yml). The workflow now only runs via workflow_dispatch (manual trigger).

Why

The workflow runs azd up which provisions Azure resources. Auto-triggering on every push/PR causes unintended resource provisioning without cleanup, leading to orphaned resource groups and unnecessary costs.

Remove push and pull_request triggers to prevent automatic resource
provisioning. The workflow now only runs via workflow_dispatch.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Restricts the Azure deploy workflow to manual trigger only by removing automatic push and pull_request triggers, preventing unintended Azure resource provisioning on every push/PR.

Changes:

  • Removes push trigger (on main/dev branches) from azure-dev.yml
  • Removes pull_request trigger (on main) from azure-dev.yml
  • Retains workflow_dispatch as the sole trigger

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

@Prajwal-Microsoft Prajwal-Microsoft merged commit 0ed7d3a into main May 15, 2026
7 checks passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.3.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants