Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support creating repos if not exist (#31)
Add optional key `create_visibility` to action, specifying it adds `--create --create-visibility` to `buf generate` invocation. Note that CLI requires both `--create` and `--create-visibility`, whereas this action only requires `create_visibility`. I prefer it this way because GitHub action error feedback loop is longer than the CLI. In an action, a user modifies the workflow file, commits it, pushes, waits for the action to run, checks result (a few clicks), sees an error. On the CLI, a user types on the command line and sees the result right away. It is easier for the user to get it right on the first try if we only require one field. I am also open to require `create` as well, for consistency with the CLI. --------- Co-authored-by: Tommy Ma <33741651+cyinma@users.noreply.github.com>
- Loading branch information
1 parent
455042d
commit 342fc4c
Showing
4 changed files
with
40 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters