Home > Article > Development Tools > how to delete github actions workflow
How to delete Github actions workflow
To permanently remove a Github actions workflow, you can delete it from the GitHub user interface. Here are the steps:
You can also delete a Github actions workflow using the GitHub API. The command to delete a workflow is:
<code>DELETE /repos/{owner}/{repo}/actions/workflows/{workflow_id}</code>
Replace owner
with the owner of the repository. Replace repo
with the name of the repository. Replace workflow_id
with the ID of the workflow you want to delete.
There is no built-in way to manage and delete multiple Github actions workflows at once using the GitHub user interface.
Here's a workaround using the GitHub API:
<code>GET /repos/{owner}/{repo}/actions/workflows</code>
Replace owner
with the owner of the repository. Replace repo
with the name of the repository.
The above is the detailed content of how to delete github actions workflow. For more information, please follow other related articles on the PHP Chinese website!