-
-
Notifications
You must be signed in to change notification settings - Fork 754
Open
Labels
state: needs triageWaiting to be triaged by a maintainer.Waiting to be triaged by a maintainer.
Description
Description
Hey!
This is a follow-up of my comment here: #1317 (comment)
In a Remote Taskfiles experiment , I would like to propose adding a new --trust CLI flag and remote.trust configuration option.
Currently, when using remote taskfiles, one is asked for a confirmation. This new flag/setting will bypass that.
This is different than --yes, because:
- It can be configured in taskrc
- It doesn't answer
yesfor all prompts
Example case
- I have a quite large system, structured in a modular way, with many taskfiles.
- I have some generic taskfiles placed in a separate git repository, so they can be reused in many places.
- I trust that generic taskfiles - they are managed by the same team of people.
- If I was care about preventing supply chain attack, which I am not really, I could use checksum feature
- I don't want to force people to answer
yesor add--yesto every invocations, especially as there are some potentially destructive tasks protected with additional prompt so--yesmay be dangerous, when used without thinking - Certainly, I don't want to add
--yesto my CI/CD pipelines (read previous point)
Metadata
Metadata
Assignees
Labels
state: needs triageWaiting to be triaged by a maintainer.Waiting to be triaged by a maintainer.