Skip to content

Trigger deploy-production workflow on release published#913

Merged
A1L13N merged 2 commits intomainfrom
copilot/update-deploy-action-trigger
Feb 21, 2026
Merged

Trigger deploy-production workflow on release published#913
A1L13N merged 2 commits intomainfrom
copilot/update-deploy-action-trigger

Conversation

Copy link
Contributor

Copilot AI commented Feb 21, 2026

The deploy workflow was only triggerable manually via workflow_dispatch, with no automatic trigger on new releases.

Changes

  • .github/workflows/deploy-production.yml: Added release: types: [published] trigger alongside the existing workflow_dispatch
on:
  release:
    types: [published]
  workflow_dispatch:

published (vs created) ensures the workflow only fires on fully published releases, not drafts. Releases created by the workflow itself via GITHUB_TOKEN will not re-trigger the workflow (GitHub's built-in recursion prevention).


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: A1L13N <193832434+A1L13N@users.noreply.github.com>
Copilot AI changed the title [WIP] Update deploy GitHub action for new release trigger Trigger deploy-production workflow on release published Feb 21, 2026
Copilot AI requested a review from A1L13N February 21, 2026 19:44
@A1L13N A1L13N marked this pull request as ready for review February 21, 2026 21:48
@github-actions github-actions bot added files-changed: 1 PR changes 1 file labels Feb 21, 2026
@A1L13N A1L13N merged commit 37bd1ba into main Feb 21, 2026
14 checks passed
@A1L13N A1L13N deleted the copilot/update-deploy-action-trigger branch February 21, 2026 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

files-changed: 1 PR changes 1 file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants