To stop a GitHub Actions workflow while keeping its configuration file and execution history, you should disable the workflow rather than deleting it. Disabling a workflow prevents it from being triggered by any event (like pushes or schedules) but leaves the YAML file in your repository and preserves all previous run data on the GitHub Actions tab. How to Disable a Workflow You can disable a workflow through the GitHub UI, the CLI, or by modifying the code itself: Via GitHub Web Interface: Go to your repository on GitHub. Click the Actions tab. In the left sidebar, select the specific workflow you want to stop. Click the three dots (...) or the Enable/Disable dropdown menu and select Disable workflow. Reference: https://docs.github.com/actions/managing-workflow-runs/disabling-and-enabling-a-workflow