delete-deployment-environment
delete-deployment-environment copied to clipboard
Environment still available in workflow_dispatch input type 'environment'
I'm using your action to delete the environment with a manual trigger.
GitHub says use the workflow_dispatch
trigger.
I'm passing an input of type: environment
into your GitHub Action.
After successful function run I can still select the environment in the dropdown
Are you using the default Github Action token or are you passing in a personal access token? It is notated in the README that the default action token does not have the require scope to delete an environment. Using a PAT is the only way I'm currently aware of to delete the environment.