lfreleng-actions/checkout-gerrit-change

Checkout a mirrored Gerrit change

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
gerrit-refspecThe Gerrit refspec for the change, eg: refs/changes/YY/NNYY/Zyes
gerrit-projectThe project in Gerrityes
delayDelay in seconds to wait to make sure replication has finished. Default: 10sno10s
fetch-depthNumber of commits to fetch. 0 indicates all history for all branches and tags. Default 1no1
repositoryRepository name with owner. For example actions/checkoutno${{ github.repository }}
refThe branch, tag or SHA to checkout. When checking out the repository that triggered a workflow, this defaults to the reference or SHA for that event. Otherwise, uses the default branch. no${{ github.sha }}
tokenPersonal Access token (PAT) used to fetch the repository. The PAT is configured with the local git config, which enables your scripts to run authenticated git commands. The post-job step removes the PAT. We recommend using a service account with the least permissions necessary. Also, when generating a new PAT, select the least scopes necessary. ${{ github.token }}
gerrit-urlThe base URL for the gerrit server. This is used if ref can't be found in the GitHub repository no""
submodulesWhether to checkout submodules: `true` to checkout submodules or `recursive` to recursively checkout submodules. Default: false false

no outputs