I have a .github/workflows/deploy.yaml file for working with GitHub Actions. Now I need to delete that workflow but I don't want to delete YAML file in case I need that.
Is there anything like 'status:false' attribute or something like that?
Options:
Using the UI: Actions > WORKFLOW > ... > Disable workflow
Using the GitHub CLI: gh workflow disable WORKFLOW
See more info at GitHub documentation here
Add an "if: false" to the job.
See more info at GitHub documentation here