Skip to content

Allow manual trigger for create-release job in release workflow#32

Merged
Sajjon merged 2 commits intomainfrom
copilot/fix-release-yml-condition
Feb 21, 2026
Merged

Allow manual trigger for create-release job in release workflow#32
Sajjon merged 2 commits intomainfrom
copilot/fix-release-yml-condition

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 21, 2026

The create-release job was gated solely on push events, making workflow_dispatch (manual trigger) a no-op even though the workflow declared it as a valid trigger.

Change

  • .github/workflows/release.yml — Extended the create-release job condition to accept both push and workflow_dispatch events:
# Before
if: github.ref == 'refs/heads/main' && github.event_name == 'push'

# After
if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
Original prompt

Push a fix in a new branch changing release.yml condition if: github.ref == 'refs/heads/main' && github.event_name == 'push' to allow manual trigger too, not only push


🔒 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: Sajjon <864410+Sajjon@users.noreply.github.com>
@Sajjon Sajjon marked this pull request as ready for review February 21, 2026 12:20
Copilot AI changed the title [WIP] Fix release.yml condition to allow manual triggers Allow manual trigger for create-release job in release workflow Feb 21, 2026
Copilot AI requested a review from Sajjon February 21, 2026 12:21
@Sajjon Sajjon merged commit e5a277e into main Feb 21, 2026
5 checks passed
@Sajjon Sajjon deleted the copilot/fix-release-yml-condition branch February 21, 2026 12:22
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.03%. Comparing base (147e704) to head (30acdc5).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #32   +/-   ##
=======================================
  Coverage   95.03%   95.03%           
=======================================
  Files         101      101           
  Lines        2176     2176           
=======================================
  Hits         2068     2068           
  Misses        108      108           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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