Originally posted by **purva-thakre** September 1, 2023
Draft Github Actions workflow was failing for all versions with error `Error: Unable to process file command 'env' successfully.`.
https://github.com/unitaryfund/mitiq/actions/runs/6054448774/job/16431867571
The same builds pass when the PR is not a draft.
Option 1 - remove the workflow for draft PR
Option 2 - figure out a way to allow changes to multiple files (as stated in the linked discussion)
The draft workflows don't take too long compared to a non-draft workflow as the tests are run only on the changes made in the PR. Option 2 would be a preferable solution but in case that doesn't work, option 1 would be the fallback solution.
Discussed in https://github.com/unitaryfund/mitiq/discussions/1990
Option 1 - remove the workflow for draft PR Option 2 - figure out a way to allow changes to multiple files (as stated in the linked discussion)
The draft workflows don't take too long compared to a non-draft workflow as the tests are run only on the changes made in the PR. Option 2 would be a preferable solution but in case that doesn't work, option 1 would be the fallback solution.