A GitHub action for setting up and running Auto #1958
laughedelic
started this conversation in
Ideas
Replies: 1 comment 6 replies
-
I created a simple version that just installs (pre-packaged) Auto and configures Git author/credentials: https://github.com/laughedelic/setup-auto Would you consider moving it to the @intuit org? I can maintain it, but don't want the "ownership" of this action, just want an easy official way to use Auto on GitHub Actions. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I want to use Auto on GitHub actions in non-npm projects. I need to install Auto standalone binary for that and while this is easy to do with a little shell-script, it would be better to have a reusable GitHub action. Here are existing actions I found on the marketplace (searching anything related to Auto is really hard, btw 😞):
The first one works and does basically what I want, but it's not portable (which is ok for my current use-case, but generally is an arbitrary limitation) and seems to be not properly released (there are a few tags marked as pre-release).
Proposal
I want to write an action that will install Auto (linux/macos/windows), optionally run it with given arguments and expose output as the action output, so it's easier to integrate with other actions.
Here is some example usages:
Simple setup
Update: This is now implemented: https://github.com/laughedelic/setup-auto
Would be equivalent to running steps like this:
Natually, git name/email/token can be optionally configured.
Running a command
or with any other CLI options:
The motivation of running Auto from the action instead of having a separate step like
run: auto shipit
is that from the action it's easier to expose information from the release as outputs. Then next steps (e.g. deployment) can use that information (e.g. released version).From this angle it might be better to implement action in TypeScript and use Auto's API directly. Then maybe we don't need to use the platform-dependent binary.
What do you think about this?
Beta Was this translation helpful? Give feedback.
All reactions