boa icon indicating copy to clipboard operation
boa copied to clipboard

CI: Add manual workflow trigger (workflow_dispatch) to rust.yaml

Open RishavTiwari25 opened this issue 8 months ago • 0 comments

Feature Request Add a manual workflow_dispatch trigger to the Continuous integration workflow (.github/workflows/rust.yml).

The current GitHub Actions workflow can only be triggered by pushes, pull requests, and merge groups. There is no way to manually trigger the workflow from the GitHub UI, which makes debugging CI issues and re-running flaky failures difficult (often requiring empty commits). I would like to implement a manual trigger to improve CI/CD flexibility.

Example code The .github/workflows/rust.yml file should be modified to add workflow_dispatch: to the on: section. This will enable the "Run workflow" button in the Actions UI:

on:
  pull_request:
    branches:
      - main
      - releases/**
  push:
    branches:
      - main
      - releases/**
  merge_group:
    types: [checks_requested]
  workflow_dispatch:

RishavTiwari25 avatar Mar 17 '26 17:03 RishavTiwari25