Skip to content

clone_from/push_to: Improve consistency between actions.#9

Open
mithro wants to merge 1 commit intoThe-OpenROAD-Project:mainfrom
mithro:main
Open

clone_from/push_to: Improve consistency between actions.#9
mithro wants to merge 1 commit intoThe-OpenROAD-Project:mainfrom
mithro:main

Conversation

@mithro
Copy link
Collaborator

@mithro mithro commented May 21, 2021

Make consistent the following;

  • Wording in output.
  • Checking of inputs.
  • Git environment variables.
  • Quoting of command line arguments.
  • How optional arguments are given to git using GIT_ARGS.

Signed-off-by: Tim 'mithro' Ansell tansell@google.com

Make consistent the following;
 * Wording in output.
 * Checking of inputs.
 * Git environment variables.
 * Quoting of command line arguments.
 * How optional arguments are given to git using `GIT_ARGS`.

Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
# Checkout if needed
if [[ '${{ inputs.checkout }}' != 'true' ]]; then
GIT_CLONE_ARGS="--no-checkout"
export GIT_ARGS=''

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nit: the quote types should match the rest of the file. It looks like in most cases we're doing ". Other than that this looks good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants