githubgithub-actions

How can I prevent GitHub Actions YAML file from being deployed?


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?


Solution

  • Options:

    1. Disabling the workflow
    1. Using "if" conditional
    1. Moving the workflow
    1. Renaming the workflow