Skip to content

Add workflow_dispatch event to dotnet.yml for manual workflow triggering#1

Closed
Copilot wants to merge 2 commits intomasterfrom
copilot/fix-af8b07ad-c67b-45ec-a420-ba65ae2cccfa
Closed

Add workflow_dispatch event to dotnet.yml for manual workflow triggering#1
Copilot wants to merge 2 commits intomasterfrom
copilot/fix-af8b07ad-c67b-45ec-a420-ba65ae2cccfa

Conversation

Copy link
Copy Markdown

Copilot AI commented Jul 22, 2025

This PR adds the workflow_dispatch event to the .github/workflows/dotnet.yml workflow to enable manual triggering from the GitHub Actions UI.

Changes Made

  • Added workflow_dispatch: event trigger to the on: section of the dotnet.yml workflow
  • Added explanatory comment following the same pattern as the existing push-nuget.yml workflow

Benefits

  • Enables a "Run workflow" button in the GitHub Actions tab
  • Allows developers to manually trigger the .NET build and test workflow without requiring a push or pull request
  • Provides flexibility for testing workflow changes or running builds on-demand

Implementation Details

The change follows the existing pattern established in push-nuget.yml and is minimal - only 2 lines added:

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]
  # Allows you to run this workflow manually from the Actions tab
  workflow_dispatch:

This maintains all existing functionality while adding the manual trigger capability requested.

This pull request was created as a result of the following prompt from Copilot chat.

Voeg de mogelijkheid toe om de workflow via de GitHub UI te triggeren door de 'workflow_dispatch' event toe te voegen aan de dotnet.yml workflow. Dit zorgt ervoor dat er een 'Run workflow'-knop beschikbaar wordt in de Actions-tab, waarmee de workflow handmatig kan worden gestart.


💡 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.

Co-authored-by: 304NotModified <5808377+304NotModified@users.noreply.github.com>
Copilot AI changed the title [WIP] Voeg workflow_dispatch toe aan dotnet.yml voor handmatig triggeren via UI Add workflow_dispatch event to dotnet.yml for manual workflow triggering Jul 22, 2025
Copilot AI requested a review from 304NotModified July 22, 2025 19:34
@304NotModified 304NotModified deleted the copilot/fix-af8b07ad-c67b-45ec-a420-ba65ae2cccfa branch July 22, 2025 20:22
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