Skip to content

Commit cb02bdd

Browse files
committed
Transpile
1 parent ce29008 commit cb02bdd

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

.github/actions/checkout/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,11 @@ Please refer to the [release page](https://github.com/actions/checkout/releases/
9797
# Default: false
9898
single-branch: ''
9999

100+
# Additional refs to fetch. Each ref should be separated with new lines. For
101+
# example, to fetch all tags: `refs/tags/*:refs/tags/*`
102+
# Default:
103+
additional-fetch-refs: ''
104+
100105
# Personal access token (PAT) used to fetch the repository. The PAT is configured
101106
# with the local git config, which enables your scripts to run authenticated git
102107
# commands. The post-job step removes the PAT.

.github/actions/checkout/dist/index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2013,6 +2013,12 @@ function getInputs() {
20132013
result.singleBranch =
20142014
(core.getInput('single-branch') || 'false').toUpperCase() === 'TRUE';
20152015
core.debug(`single branch = ${result.singleBranch}`);
2016+
// Additional fetch refs
2017+
const additionalFetchRefsInput = core.getMultilineInput('additional-fetch-refs');
2018+
if (additionalFetchRefsInput.length > 0) {
2019+
result.additionalFetchRefs = additionalFetchRefsInput;
2020+
}
2021+
core.debug(`additional fetch refs = ${JSON.stringify(result.additionalFetchRefs)}`);
20162022
// Clean
20172023
result.clean = (core.getInput('clean') || 'true').toUpperCase() === 'TRUE';
20182024
core.debug(`clean = ${result.clean}`);

.github/actions/checkout/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)