Skip to content

ci: enable workflow dispatch#31

Merged
SondreJDigdir merged 2 commits intomasterfrom
ci/enable-workflow-dispatch
Feb 11, 2026
Merged

ci: enable workflow dispatch#31
SondreJDigdir merged 2 commits intomasterfrom
ci/enable-workflow-dispatch

Conversation

@SondreJDigdir
Copy link
Contributor

@SondreJDigdir SondreJDigdir commented Feb 9, 2026

Description

be able to run deploy without needing to push to master

Documentation

  • Doc updated

Summary by CodeRabbit

  • Chores
    • CI/CD updated to add a manual workflow trigger so builds and deployments can be started on demand in addition to automatic events.

@coderabbitai
Copy link

coderabbitai bot commented Feb 9, 2026

Walkthrough

A GitHub Actions workflow file was updated to add a workflow_dispatch event trigger and to include workflow_dispatch (with a refs/heads/master check) in the build_and_deploy_job conditional, enabling manual runs while preserving existing behavior.

Changes

Cohort / File(s) Summary
GitHub Actions Workflow Configuration
.github/workflows/azure-static-web-apps-wonderful-mushroom-02abe3903.yml
Added workflow_dispatch to the on: section and updated build_and_deploy_job conditional to include workflow_dispatch with refs/heads/master. No other steps or exported/public entities changed.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'ci: enable workflow dispatch' directly and clearly describes the main change: enabling workflow dispatch functionality in the CI configuration.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch ci/enable-workflow-dispatch

No actionable comments were generated in the recent review. 🎉

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
.github/workflows/azure-static-web-apps-wonderful-mushroom-02abe3903.yml (1)

19-19: ⚠️ Potential issue | 🔴 Critical

Critical: Job will be skipped when manually triggered.

The build_and_deploy_job conditional doesn't include workflow_dispatch events. When the workflow is manually triggered, github.event_name will be 'workflow_dispatch', which doesn't match the current condition. The job will be skipped, defeating the entire purpose of this PR.

🐛 Proposed fix to include workflow_dispatch events
-    if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
+    if: github.event_name == 'push' || github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.action != 'closed')

@SondreJDigdir SondreJDigdir merged commit e4c3b43 into master Feb 11, 2026
5 of 6 checks passed
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