update readme

This commit is contained in:
eric sciple 2019-12-03 11:02:12 -05:00
parent e347bba93b
commit 0f394b5ea0
5 changed files with 458 additions and 306 deletions

View File

@ -1,20 +1,20 @@
# Changelog
## v2 (preview)
## v2 (beta)
- Improved fetch performance
- The default behavior now fetches only the SHA being checked-out.
- The default behavior now fetches only the SHA being checked-out
- Script authenticated git commands
- Persists `with.token` in the local git config.
- Enables your scripts to run authenticated git commands.
- Post-job cleanup removes the token.
- Coming soon: Opt out by setting `with.persist-credentials` to `false`.
- Persists `with.token` in the local git config
- Enables your scripts to run authenticated git commands
- Post-job cleanup removes the token
- Coming soon: Opt out by setting `with.persist-credentials` to `false`
- Creates a local branch
- No longer detached HEAD when checking out a branch.
- A local branch is created with the corresponding upstream branch set.
- No longer detached HEAD when checking out a branch
- A local branch is created with the corresponding upstream branch set
- Improved layout
- `with.path` is always relative to `github.workspace`.
- Aligns better with container actions, where `github.workspace` gets mapped in.
- `with.path` is always relative to `github.workspace`
- Aligns better with container actions, where `github.workspace` gets mapped in
- Removed input `submodules`

View File

@ -2,7 +2,7 @@
<a href="https://github.com/actions/checkout"><img alt="GitHub Actions status" src="https://github.com/actions/checkout/workflows/test-local/badge.svg"></a>
</p>
# Checkout V2 (preview)
# Checkout V2 (beta)
This action checks-out your repository under `$GITHUB_WORKSPACE`, so your workflow can access it.
@ -10,13 +10,29 @@ By default, the repository that triggered the workflow is checked-out, for the r
Refer [here](https://help.github.com/en/articles/events-that-trigger-workflows) to learn which commit `$GITHUB_SHA` points to for different events.
Changes in V2:
- Improved fetch performance
- The default behavior now fetches only the SHA being checked-out
- Script authenticated git commands
- Persists `with.token` in the local git config
- Enables your scripts to run authenticated git commands
- Post-job cleanup removes the token
- Coming soon: Opt out by setting `with.persist-credentials` to `false`
- Creates a local branch
- No longer detached HEAD when checking out a branch
- A local branch is created with the corresponding upstream branch set
- Improved layout
- `with.path` is always relative to `github.workspace`
- Aligns better with container actions, where `github.workspace` gets mapped in
- Removed input `submodules`
Refer [here](https://github.com/actions/checkout/blob/v1/README.md) for previous versions.
# Usage
<!-- start usage -->
```yaml
- uses: actions/checkout@preview
- uses: actions/checkout@v2-beta
with:
# Repository name
# Default: ${{ github.repository }}

720
dist/index.js vendored
View File

@ -1,3 +1,86 @@
module.exports =
/******/ (function(modules, runtime) { // webpackBootstrap
/******/ "use strict";
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId]) {
/******/ return installedModules[moduleId].exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/
/******/ __webpack_require__.ab = __dirname + "/";
/******/
/******/ // the startup function
/******/ function startup() {
/******/ // Load entry module and return exports
/******/ return __webpack_require__(429);
/******/ };
/******/
/******/ // run startup
/******/ return startup();
/******/ })
/************************************************************************/
/******/ ({
/***/ 87:
/***/ (function(module) {
module.exports = require("os");
/***/ }),
/***/ 129:
/***/ (function(module) {
module.exports = require("child_process");
/***/ }),
/***/ 211:
/***/ (function(module) {
module.exports = require("https");
/***/ }),
/***/ 357:
/***/ (function(module) {
module.exports = require("assert");
/***/ }),
/***/ 413:
/***/ (function(module) {
module.exports = require("stream");
/***/ }),
/***/ 429:
/***/ (function(module, __unusedexports, __webpack_require__) {
module.exports =
/******/ (function(modules, runtime) { // webpackBootstrap
/******/ "use strict";
@ -44,11 +127,11 @@ module.exports =
/******/ ({
/***/ 0:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_1416__) {
module.exports = withDefaults
const graphql = __webpack_require__(500)
const graphql = __nested_webpack_require_1416__(500)
function withDefaults (request, newDefaults) {
const newRequest = request.defaults(newDefaults)
@ -64,7 +147,7 @@ function withDefaults (request, newDefaults) {
/***/ }),
/***/ 1:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_1845__) {
"use strict";
@ -78,10 +161,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
});
};
Object.defineProperty(exports, "__esModule", { value: true });
const childProcess = __webpack_require__(129);
const path = __webpack_require__(622);
const util_1 = __webpack_require__(669);
const ioUtil = __webpack_require__(672);
const childProcess = __nested_webpack_require_1845__(129);
const path = __nested_webpack_require_1845__(622);
const util_1 = __nested_webpack_require_1845__(669);
const ioUtil = __nested_webpack_require_1845__(672);
const exec = util_1.promisify(childProcess.exec);
/**
* Copies a file or folder.
@ -361,13 +444,13 @@ function copyFile(srcFile, destFile, force) {
/***/ }),
/***/ 2:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_13479__) {
"use strict";
const os = __webpack_require__(87);
const macosRelease = __webpack_require__(118);
const winRelease = __webpack_require__(49);
const os = __nested_webpack_require_13479__(87);
const macosRelease = __nested_webpack_require_13479__(118);
const winRelease = __nested_webpack_require_13479__(49);
const osName = (platform, release) => {
if (!platform && release) {
@ -415,9 +498,9 @@ module.exports = osName;
/***/ }),
/***/ 3:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_14673__) {
var once = __webpack_require__(969);
var once = __nested_webpack_require_14673__(969);
var noop = function() {};
@ -516,11 +599,11 @@ module.exports = eos;
/***/ }),
/***/ 8:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_17447__) {
module.exports = iterator;
const normalizePaginatedListResponse = __webpack_require__(301);
const normalizePaginatedListResponse = __nested_webpack_require_17447__(301);
function iterator(octokit, options) {
const headers = options.headers;
@ -557,7 +640,7 @@ function iterator(octokit, options) {
/***/ }),
/***/ 9:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_18550__) {
"use strict";
@ -571,9 +654,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
});
};
Object.defineProperty(exports, "__esModule", { value: true });
const os = __webpack_require__(87);
const events = __webpack_require__(614);
const child = __webpack_require__(129);
const os = __nested_webpack_require_18550__(87);
const events = __nested_webpack_require_18550__(614);
const child = __nested_webpack_require_18550__(129);
/* eslint-disable @typescript-eslint/unbound-method */
const IS_WINDOWS = process.platform === 'win32';
/*
@ -1186,18 +1269,18 @@ eval("require")("encoding");
/***/ }),
/***/ 19:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_42586__) {
module.exports = authenticationPlugin;
const { Deprecation } = __webpack_require__(692);
const once = __webpack_require__(969);
const { Deprecation } = __nested_webpack_require_42586__(692);
const once = __nested_webpack_require_42586__(969);
const deprecateAuthenticate = once((log, deprecation) => log.warn(deprecation));
const authenticate = __webpack_require__(674);
const beforeRequest = __webpack_require__(471);
const requestError = __webpack_require__(349);
const authenticate = __nested_webpack_require_42586__(674);
const beforeRequest = __nested_webpack_require_42586__(471);
const requestError = __nested_webpack_require_42586__(349);
function authenticationPlugin(octokit, options) {
if (options.auth) {
@ -1224,14 +1307,14 @@ function authenticationPlugin(octokit, options) {
/***/ }),
/***/ 20:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_43628__) {
"use strict";
const cp = __webpack_require__(129);
const parse = __webpack_require__(568);
const enoent = __webpack_require__(881);
const cp = __nested_webpack_require_43628__(129);
const parse = __nested_webpack_require_43628__(568);
const enoent = __nested_webpack_require_43628__(881);
function spawn(command, args, options) {
// Parse the arguments
@ -1273,7 +1356,7 @@ module.exports._enoent = enoent;
/***/ 34:
/***/ (function(module) {
module.exports = require("https");
module.exports = __webpack_require__(211);
/***/ }),
@ -1299,11 +1382,11 @@ module.exports = opts => {
/***/ }),
/***/ 46:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_45328__) {
module.exports = getUserAgentNode
const osName = __webpack_require__(2)
const osName = __nested_webpack_require_45328__(2)
function getUserAgentNode () {
try {
@ -1321,12 +1404,12 @@ function getUserAgentNode () {
/***/ }),
/***/ 47:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_45758__) {
module.exports = factory;
const Octokit = __webpack_require__(402);
const registerPlugin = __webpack_require__(855);
const Octokit = __nested_webpack_require_45758__(402);
const registerPlugin = __nested_webpack_require_45758__(855);
function factory(plugins) {
const Api = Octokit.bind(null, plugins || []);
@ -1338,12 +1421,12 @@ function factory(plugins) {
/***/ }),
/***/ 49:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_46115__) {
"use strict";
const os = __webpack_require__(87);
const execa = __webpack_require__(955);
const os = __nested_webpack_require_46115__(87);
const execa = __nested_webpack_require_46115__(955);
// Reference: https://www.gaijin.at/en/lstwinver.php
const names = new Map([
@ -1392,16 +1475,16 @@ module.exports = windowsRelease;
/***/ 87:
/***/ (function(module) {
module.exports = require("os");
module.exports = __webpack_require__(87);
/***/ }),
/***/ 118:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_47650__) {
"use strict";
const os = __webpack_require__(87);
const os = __nested_webpack_require_47650__(87);
const nameMap = new Map([
[19, 'Catalina'],
@ -2342,16 +2425,16 @@ module.exports = uniq;
/***/ 129:
/***/ (function(module) {
module.exports = require("child_process");
module.exports = __webpack_require__(129);
/***/ }),
/***/ 143:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_70418__) {
module.exports = withAuthorizationPrefix;
const atob = __webpack_require__(368);
const atob = __nested_webpack_require_70418__(368);
const REGEX_IS_BASIC_AUTH = /^[\w-]+:/;
@ -2377,12 +2460,12 @@ function withAuthorizationPrefix(authorization) {
/***/ }),
/***/ 145:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_71027__) {
"use strict";
const pump = __webpack_require__(453);
const bufferStream = __webpack_require__(966);
const pump = __nested_webpack_require_71027__(453);
const bufferStream = __nested_webpack_require_71027__(966);
class MaxBufferError extends Error {
constructor() {
@ -2435,12 +2518,12 @@ module.exports.MaxBufferError = MaxBufferError;
/***/ }),
/***/ 148:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_72375__) {
module.exports = paginatePlugin;
const iterator = __webpack_require__(8);
const paginate = __webpack_require__(807);
const iterator = __nested_webpack_require_72375__(8);
const paginate = __nested_webpack_require_72375__(807);
function paginatePlugin(octokit) {
octokit.paginate = paginate.bind(null, octokit);
@ -2500,13 +2583,13 @@ module.exports = opts => {
/***/ }),
/***/ 190:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_73674__) {
module.exports = authenticationPlugin;
const beforeRequest = __webpack_require__(863);
const requestError = __webpack_require__(991);
const validate = __webpack_require__(954);
const beforeRequest = __nested_webpack_require_73674__(863);
const requestError = __nested_webpack_require_73674__(991);
const validate = __nested_webpack_require_73674__(954);
function authenticationPlugin(octokit, options) {
if (!options.auth) {
@ -2528,12 +2611,12 @@ function authenticationPlugin(octokit, options) {
/***/ }),
/***/ 197:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_74253__) {
module.exports = isexe
isexe.sync = sync
var fs = __webpack_require__(747)
var fs = __nested_webpack_require_74253__(747)
function isexe (path, options, cb) {
fs.stat(path, function (er, stat) {
@ -2576,7 +2659,7 @@ function checkMode (stat, options) {
/***/ }),
/***/ 198:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_75262__) {
"use strict";
@ -2597,11 +2680,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
const core = __importStar(__webpack_require__(470));
const coreCommand = __importStar(__webpack_require__(431));
const gitSourceProvider = __importStar(__webpack_require__(293));
const inputHelper = __importStar(__webpack_require__(821));
const path = __importStar(__webpack_require__(622));
const core = __importStar(__nested_webpack_require_75262__(470));
const coreCommand = __importStar(__nested_webpack_require_75262__(431));
const gitSourceProvider = __importStar(__nested_webpack_require_75262__(293));
const inputHelper = __importStar(__nested_webpack_require_75262__(821));
const path = __importStar(__nested_webpack_require_75262__(622));
const cleanupRepositoryPath = process.env['STATE_repositoryPath'];
function run() {
return __awaiter(this, void 0, void 0, function* () {
@ -2646,7 +2729,7 @@ else {
/***/ }),
/***/ 211:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_77790__) {
"use strict";
@ -2655,7 +2738,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var osName = _interopDefault(__webpack_require__(2));
var osName = _interopDefault(__nested_webpack_require_77790__(2));
function getUserAgent() {
try {
@ -2797,11 +2880,11 @@ exports.getRefSpec = getRefSpec;
/***/ }),
/***/ 248:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_86372__) {
module.exports = octokitRegisterEndpoints;
const registerEndpoints = __webpack_require__(899);
const registerEndpoints = __nested_webpack_require_86372__(899);
function octokitRegisterEndpoints(octokit) {
octokit.registerEndpoints = registerEndpoints.bind(null, octokit);
@ -2811,15 +2894,15 @@ function octokitRegisterEndpoints(octokit) {
/***/ }),
/***/ 260:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_86674__) {
// Note: since nyc uses this module to output coverage, any lines
// that are in the direct sync flow of nyc's outputCoverage are
// ignored, since we can never get coverage for them.
var assert = __webpack_require__(357)
var signals = __webpack_require__(654)
var assert = __nested_webpack_require_86674__(357)
var signals = __nested_webpack_require_86674__(654)
var EE = __webpack_require__(614)
var EE = __nested_webpack_require_86674__(614)
/* istanbul ignore if */
if (typeof EE !== 'function') {
EE = EE.EventEmitter
@ -2975,13 +3058,13 @@ function processEmit (ev, arg) {
/***/ }),
/***/ 262:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_90687__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const fs_1 = __webpack_require__(747);
const os_1 = __webpack_require__(87);
const fs_1 = __nested_webpack_require_90687__(747);
const os_1 = __nested_webpack_require_90687__(87);
class Context {
/**
* Hydrate the context from the environment
@ -3027,13 +3110,13 @@ exports.Context = Context;
/***/ }),
/***/ 265:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_92507__) {
module.exports = getPage
const deprecate = __webpack_require__(370)
const getPageLinks = __webpack_require__(577)
const HttpError = __webpack_require__(297)
const deprecate = __nested_webpack_require_92507__(370)
const getPageLinks = __nested_webpack_require_92507__(577)
const HttpError = __nested_webpack_require_92507__(297)
function getPage (octokit, link, which, headers) {
deprecate(`octokit.get${which.charAt(0).toUpperCase() + which.slice(1)}Page() You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`)
@ -4562,7 +4645,7 @@ function coerce (version) {
/***/ }),
/***/ 289:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_132520__) {
"use strict";
@ -4583,12 +4666,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
const core = __importStar(__webpack_require__(470));
const exec = __importStar(__webpack_require__(986));
const fshelper = __importStar(__webpack_require__(618));
const io = __importStar(__webpack_require__(1));
const path = __importStar(__webpack_require__(622));
const git_version_1 = __webpack_require__(559);
const core = __importStar(__nested_webpack_require_132520__(470));
const exec = __importStar(__nested_webpack_require_132520__(986));
const fshelper = __importStar(__nested_webpack_require_132520__(618));
const io = __importStar(__nested_webpack_require_132520__(1));
const path = __importStar(__nested_webpack_require_132520__(622));
const git_version_1 = __nested_webpack_require_132520__(559);
function CreateCommandManager(workingDirectory, lfs) {
return __awaiter(this, void 0, void 0, function* () {
return yield GitCommandManager.createCommandManager(workingDirectory, lfs);
@ -4928,7 +5011,7 @@ class GitOutput {
/***/ }),
/***/ 293:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_147055__) {
"use strict";
@ -4949,14 +5032,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
const core = __importStar(__webpack_require__(470));
const coreCommand = __importStar(__webpack_require__(431));
const fs = __importStar(__webpack_require__(747));
const fsHelper = __importStar(__webpack_require__(618));
const gitCommandManager = __importStar(__webpack_require__(289));
const io = __importStar(__webpack_require__(1));
const path = __importStar(__webpack_require__(622));
const refHelper = __importStar(__webpack_require__(227));
const core = __importStar(__nested_webpack_require_147055__(470));
const coreCommand = __importStar(__nested_webpack_require_147055__(431));
const fs = __importStar(__nested_webpack_require_147055__(747));
const fsHelper = __importStar(__nested_webpack_require_147055__(618));
const gitCommandManager = __importStar(__nested_webpack_require_147055__(289));
const io = __importStar(__nested_webpack_require_147055__(1));
const path = __importStar(__nested_webpack_require_147055__(622));
const refHelper = __importStar(__nested_webpack_require_147055__(227));
const authConfigKey = `http.https://github.com/.extraheader`;
function getSource(settings) {
return __awaiter(this, void 0, void 0, function* () {
@ -5117,15 +5200,15 @@ function removeGitConfig(git, configKey) {
/***/ }),
/***/ 294:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_155806__) {
module.exports = parseOptions;
const { Deprecation } = __webpack_require__(692);
const { getUserAgent } = __webpack_require__(619);
const once = __webpack_require__(969);
const { Deprecation } = __nested_webpack_require_155806__(692);
const { getUserAgent } = __nested_webpack_require_155806__(619);
const once = __nested_webpack_require_155806__(969);
const pkg = __webpack_require__(215);
const pkg = __nested_webpack_require_155806__(215);
const deprecateOptionsTimeout = once((log, deprecation) =>
log.warn(deprecation)
@ -5235,7 +5318,7 @@ module.exports = class HttpError extends Error {
/***/ }),
/***/ 301:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_158752__) {
/**
* Some list response that can be paginated have a different response structure
@ -5260,8 +5343,8 @@ module.exports = class HttpError extends Error {
module.exports = normalizePaginatedListResponse;
const { Deprecation } = __webpack_require__(692);
const once = __webpack_require__(969);
const { Deprecation } = __nested_webpack_require_158752__(692);
const once = __nested_webpack_require_158752__(969);
const deprecateIncompleteResults = once((log, deprecation) =>
log.warn(deprecation)
@ -5355,11 +5438,11 @@ function normalizePaginatedListResponse(octokit, url, response) {
/***/ }),
/***/ 309:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_163059__) {
module.exports = octokitRestNormalizeGitReferenceResponses;
const { RequestError } = __webpack_require__(463);
const { RequestError } = __nested_webpack_require_163059__(463);
function octokitRestNormalizeGitReferenceResponses(octokit) {
octokit.hook.wrap("request", (request, options) => {
@ -5457,12 +5540,12 @@ isStream.transform = function (stream) {
/***/ }),
/***/ 336:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_167691__) {
module.exports = hasLastPage
const deprecate = __webpack_require__(370)
const getPageLinks = __webpack_require__(577)
const deprecate = __nested_webpack_require_167691__(370)
const getPageLinks = __nested_webpack_require_167691__(577)
function hasLastPage (link) {
deprecate(`octokit.hasLastPage() You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`)
@ -5473,16 +5556,16 @@ function hasLastPage (link) {
/***/ }),
/***/ 348:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_168108__) {
"use strict";
module.exports = validate;
const { RequestError } = __webpack_require__(463);
const get = __webpack_require__(854);
const set = __webpack_require__(883);
const { RequestError } = __nested_webpack_require_168108__(463);
const get = __nested_webpack_require_168108__(854);
const set = __nested_webpack_require_168108__(883);
function validate(octokit, options) {
if (!options.request.validate) {
@ -5632,11 +5715,11 @@ function validate(octokit, options) {
/***/ }),
/***/ 349:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_172334__) {
module.exports = authenticationRequestError;
const { RequestError } = __webpack_require__(463);
const { RequestError } = __nested_webpack_require_172334__(463);
function authenticationRequestError(state, error, options) {
/* istanbul ignore next */
@ -5696,7 +5779,7 @@ function authenticationRequestError(state, error, options) {
/***/ 357:
/***/ (function(module) {
module.exports = require("assert");
module.exports = __webpack_require__(357);
/***/ }),
@ -5800,7 +5883,7 @@ function octokitDebug(octokit) {
/***/ }),
/***/ 385:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_175849__) {
"use strict";
@ -5809,8 +5892,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var isPlainObject = _interopDefault(__webpack_require__(696));
var universalUserAgent = __webpack_require__(562);
var isPlainObject = _interopDefault(__nested_webpack_require_175849__(696));
var universalUserAgent = __nested_webpack_require_175849__(562);
function lowercaseKeys(object) {
if (!object) {
@ -6185,13 +6268,13 @@ exports.endpoint = endpoint;
/***/ }),
/***/ 389:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_188051__) {
"use strict";
const fs = __webpack_require__(747);
const shebangCommand = __webpack_require__(866);
const fs = __nested_webpack_require_188051__(747);
const shebangCommand = __nested_webpack_require_188051__(866);
function readShebang(command) {
// Read the first 150 bytes from the file
@ -6225,14 +6308,14 @@ module.exports = readShebang;
/***/ }),
/***/ 402:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_188890__) {
module.exports = Octokit;
const { request } = __webpack_require__(753);
const Hook = __webpack_require__(523);
const { request } = __nested_webpack_require_188890__(753);
const Hook = __nested_webpack_require_188890__(523);
const parseClientOptions = __webpack_require__(294);
const parseClientOptions = __nested_webpack_require_188890__(294);
function Octokit(plugins, options) {
options = options || {};
@ -6263,18 +6346,18 @@ function Octokit(plugins, options) {
/***/ 413:
/***/ (function(module) {
module.exports = require("stream");
module.exports = __webpack_require__(413);
/***/ }),
/***/ 427:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_189701__) {
"use strict";
// Older verions of Node.js might not have `util.getSystemErrorName()`.
// In that case, fall back to a deprecated internal.
const util = __webpack_require__(669);
const util = __nested_webpack_require_189701__(669);
let uv;
@ -6315,11 +6398,11 @@ function errname(uv, code) {
/***/ }),
/***/ 430:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_190641__) {
module.exports = octokitValidate;
const validate = __webpack_require__(348);
const validate = __nested_webpack_require_190641__(348);
function octokitValidate(octokit) {
octokit.hook.before("request", validate.bind(null, octokit));
@ -6329,12 +6412,12 @@ function octokitValidate(octokit) {
/***/ }),
/***/ 431:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_190911__) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const os = __webpack_require__(87);
const os = __nested_webpack_require_190911__(87);
/**
* Commands
*
@ -6402,11 +6485,11 @@ function escape(s) {
/***/ }),
/***/ 453:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_193135__) {
var once = __webpack_require__(969)
var eos = __webpack_require__(3)
var fs = __webpack_require__(747) // we only need fs to get the ReadStream and WriteStream prototypes
var once = __nested_webpack_require_193135__(969)
var eos = __nested_webpack_require_193135__(3)
var fs = __nested_webpack_require_193135__(747) // we only need fs to get the ReadStream and WriteStream prototypes
var noop = function () {}
var ancient = /^v?\.0/.test(process.version)
@ -6491,7 +6574,7 @@ module.exports = pump
/***/ }),
/***/ 454:
/***/ (function(module, exports, __webpack_require__) {
/***/ (function(module, exports, __nested_webpack_require_195458__) {
"use strict";
@ -6500,11 +6583,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var Stream = _interopDefault(__webpack_require__(413));
var http = _interopDefault(__webpack_require__(605));
var Url = _interopDefault(__webpack_require__(835));
var https = _interopDefault(__webpack_require__(34));
var zlib = _interopDefault(__webpack_require__(761));
var Stream = _interopDefault(__nested_webpack_require_195458__(413));
var http = _interopDefault(__nested_webpack_require_195458__(605));
var Url = _interopDefault(__nested_webpack_require_195458__(835));
var https = _interopDefault(__nested_webpack_require_195458__(34));
var zlib = _interopDefault(__nested_webpack_require_195458__(761));
// Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js
@ -6655,7 +6738,7 @@ FetchError.prototype.name = 'FetchError';
let convert;
try {
convert = __webpack_require__(18).convert;
convert = __nested_webpack_require_195458__(18).convert;
} catch (e) {}
const INTERNALS = Symbol('Body internals');
@ -8194,7 +8277,7 @@ module.exports.argument = escapeArgument;
/***/ }),
/***/ 463:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_238146__) {
"use strict";
@ -8203,8 +8286,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var deprecation = __webpack_require__(692);
var once = _interopDefault(__webpack_require__(969));
var deprecation = __nested_webpack_require_238146__(692);
var once = _interopDefault(__nested_webpack_require_238146__(969));
const logOnce = once(deprecation => console.warn(deprecation));
/**
@ -8256,7 +8339,7 @@ exports.RequestError = RequestError;
/***/ }),
/***/ 469:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_240228__) {
"use strict";
@ -8272,9 +8355,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
};
Object.defineProperty(exports, "__esModule", { value: true });
// Originally pulled from https://github.com/JasonEtco/actions-toolkit/blob/master/src/github.ts
const graphql_1 = __webpack_require__(503);
const rest_1 = __importDefault(__webpack_require__(613));
const Context = __importStar(__webpack_require__(262));
const graphql_1 = __nested_webpack_require_240228__(503);
const rest_1 = __importDefault(__nested_webpack_require_240228__(613));
const Context = __importStar(__nested_webpack_require_240228__(262));
// We need this in order to extend Octokit
rest_1.default.prototype = new rest_1.default();
exports.context = new Context.Context();
@ -8292,7 +8375,7 @@ exports.GitHub = GitHub;
/***/ }),
/***/ 470:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_241541__) {
"use strict";
@ -8306,9 +8389,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
});
};
Object.defineProperty(exports, "__esModule", { value: true });
const command_1 = __webpack_require__(431);
const os = __webpack_require__(87);
const path = __webpack_require__(622);
const command_1 = __nested_webpack_require_241541__(431);
const os = __nested_webpack_require_241541__(87);
const path = __nested_webpack_require_241541__(622);
/**
* The code to exit an action
*/
@ -8471,12 +8554,12 @@ exports.group = group;
/***/ }),
/***/ 471:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_246791__) {
module.exports = authenticationBeforeRequest;
const btoa = __webpack_require__(675);
const uniq = __webpack_require__(126);
const btoa = __nested_webpack_require_246791__(675);
const uniq = __nested_webpack_require_246791__(126);
function authenticationBeforeRequest(state, options) {
if (!state.auth.type) {
@ -8521,14 +8604,14 @@ function authenticationBeforeRequest(state, options) {
/***/ }),
/***/ 489:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_248093__) {
"use strict";
const path = __webpack_require__(622);
const which = __webpack_require__(814);
const pathKey = __webpack_require__(39)();
const path = __nested_webpack_require_248093__(622);
const which = __nested_webpack_require_248093__(814);
const pathKey = __nested_webpack_require_248093__(39)();
function resolveCommandAttempt(parsed, withoutPathExt) {
const cwd = process.cwd();
@ -8576,11 +8659,11 @@ module.exports = resolveCommand;
/***/ }),
/***/ 500:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_249531__) {
module.exports = graphql
const GraphqlError = __webpack_require__(862)
const GraphqlError = __nested_webpack_require_249531__(862)
const NON_VARIABLE_OPTIONS = ['method', 'baseUrl', 'url', 'headers', 'request', 'query']
@ -8619,15 +8702,15 @@ function graphql (request, query, options) {
/***/ }),
/***/ 503:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_250456__) {
const { request } = __webpack_require__(753)
const getUserAgent = __webpack_require__(46)
const { request } = __nested_webpack_require_250456__(753)
const getUserAgent = __nested_webpack_require_250456__(46)
const version = __webpack_require__(314).version
const version = __nested_webpack_require_250456__(314).version
const userAgent = `octokit-graphql.js/${version} ${getUserAgent()}`
const withDefaults = __webpack_require__(0)
const withDefaults = __nested_webpack_require_250456__(0)
module.exports = withDefaults(request, {
method: 'POST',
@ -8694,11 +8777,11 @@ function addHook (state, kind, name, hook) {
/***/ }),
/***/ 523:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_251965__) {
var register = __webpack_require__(363)
var addHook = __webpack_require__(510)
var removeHook = __webpack_require__(763)
var register = __nested_webpack_require_251965__(363)
var addHook = __nested_webpack_require_251965__(510)
var removeHook = __nested_webpack_require_251965__(763)
// bind with array of arguments: https://stackoverflow.com/a/21792913
var bind = Function.bind
@ -8758,9 +8841,9 @@ module.exports.Collection = Hook.Collection
/***/ }),
/***/ 529:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_253764__) {
const factory = __webpack_require__(47);
const factory = __nested_webpack_require_253764__(47);
module.exports = factory();
@ -8768,12 +8851,12 @@ module.exports = factory();
/***/ }),
/***/ 536:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_253923__) {
module.exports = hasFirstPage
const deprecate = __webpack_require__(370)
const getPageLinks = __webpack_require__(577)
const deprecate = __nested_webpack_require_253923__(370)
const getPageLinks = __nested_webpack_require_253923__(577)
function hasFirstPage (link) {
deprecate(`octokit.hasFirstPage() You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`)
@ -8784,11 +8867,11 @@ function hasFirstPage (link) {
/***/ }),
/***/ 550:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_254344__) {
module.exports = getNextPage
const getPage = __webpack_require__(265)
const getPage = __nested_webpack_require_254344__(265)
function getNextPage (octokit, link, headers) {
return getPage(octokit, link, 'next', headers)
@ -8798,12 +8881,12 @@ function getNextPage (octokit, link, headers) {
/***/ }),
/***/ 558:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_254604__) {
module.exports = hasPreviousPage
const deprecate = __webpack_require__(370)
const getPageLinks = __webpack_require__(577)
const deprecate = __nested_webpack_require_254604__(370)
const getPageLinks = __nested_webpack_require_254604__(577)
function hasPreviousPage (link) {
deprecate(`octokit.hasPreviousPage() You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`)
@ -8893,7 +8976,7 @@ exports.GitVersion = GitVersion;
/***/ }),
/***/ 562:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_257196__) {
"use strict";
@ -8902,7 +8985,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var osName = _interopDefault(__webpack_require__(2));
var osName = _interopDefault(__nested_webpack_require_257196__(2));
function getUserAgent() {
try {
@ -8923,11 +9006,11 @@ exports.getUserAgent = getUserAgent;
/***/ }),
/***/ 563:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_257874__) {
module.exports = getPreviousPage
const getPage = __webpack_require__(265)
const getPage = __nested_webpack_require_257874__(265)
function getPreviousPage (octokit, link, headers) {
return getPage(octokit, link, 'prev', headers)
@ -8937,17 +9020,17 @@ function getPreviousPage (octokit, link, headers) {
/***/ }),
/***/ 568:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_258142__) {
"use strict";
const path = __webpack_require__(622);
const niceTry = __webpack_require__(948);
const resolveCommand = __webpack_require__(489);
const escape = __webpack_require__(462);
const readShebang = __webpack_require__(389);
const semver = __webpack_require__(280);
const path = __nested_webpack_require_258142__(622);
const niceTry = __nested_webpack_require_258142__(948);
const resolveCommand = __nested_webpack_require_258142__(489);
const escape = __nested_webpack_require_258142__(462);
const readShebang = __nested_webpack_require_258142__(389);
const semver = __nested_webpack_require_258142__(280);
const isWin = process.platform === 'win32';
const isExecutableRegExp = /\.(?:com|exe)$/i;
@ -9092,11 +9175,11 @@ function getPageLinks (link) {
/***/ }),
/***/ 586:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_263105__) {
module.exports = octokitRestApiEndpoints;
const ROUTES = __webpack_require__(705);
const ROUTES = __nested_webpack_require_263105__(705);
function octokitRestApiEndpoints(octokit) {
// Aliasing scopes for backward compatibility
@ -9114,26 +9197,26 @@ function octokitRestApiEndpoints(octokit) {
/***/ 605:
/***/ (function(module) {
module.exports = require("http");
module.exports = __webpack_require__(605);
/***/ }),
/***/ 613:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_263671__) {
const Octokit = __webpack_require__(529);
const Octokit = __nested_webpack_require_263671__(529);
const CORE_PLUGINS = [
__webpack_require__(372),
__webpack_require__(19), // deprecated: remove in v17
__webpack_require__(190),
__webpack_require__(148),
__webpack_require__(309),
__webpack_require__(248),
__webpack_require__(586),
__webpack_require__(430),
__nested_webpack_require_263671__(372),
__nested_webpack_require_263671__(19), // deprecated: remove in v17
__nested_webpack_require_263671__(190),
__nested_webpack_require_263671__(148),
__nested_webpack_require_263671__(309),
__nested_webpack_require_263671__(248),
__nested_webpack_require_263671__(586),
__nested_webpack_require_263671__(430),
__webpack_require__(850) // deprecated: remove in v17
__nested_webpack_require_263671__(850) // deprecated: remove in v17
];
module.exports = Octokit.plugin(CORE_PLUGINS);
@ -9144,12 +9227,12 @@ module.exports = Octokit.plugin(CORE_PLUGINS);
/***/ 614:
/***/ (function(module) {
module.exports = require("events");
module.exports = __webpack_require__(614);
/***/ }),
/***/ 618:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_264272__) {
"use strict";
@ -9161,7 +9244,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
const fs = __importStar(__webpack_require__(747));
const fs = __importStar(__nested_webpack_require_264272__(747));
function directoryExistsSync(path, required) {
if (!path) {
throw new Error("Arg 'path' must not be empty");
@ -9229,7 +9312,7 @@ exports.fileExistsSync = fileExistsSync;
/***/ }),
/***/ 619:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_266440__) {
"use strict";
@ -9238,7 +9321,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var osName = _interopDefault(__webpack_require__(2));
var osName = _interopDefault(__nested_webpack_require_266440__(2));
function getUserAgent() {
try {
@ -9259,12 +9342,12 @@ exports.getUserAgent = getUserAgent;
/***/ }),
/***/ 621:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_267118__) {
"use strict";
const path = __webpack_require__(622);
const pathKey = __webpack_require__(39);
const path = __nested_webpack_require_267118__(622);
const pathKey = __nested_webpack_require_267118__(39);
module.exports = opts => {
opts = Object.assign({
@ -9308,16 +9391,16 @@ module.exports.env = opts => {
/***/ 622:
/***/ (function(module) {
module.exports = require("path");
module.exports = __webpack_require__(622);
/***/ }),
/***/ 649:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_268071__) {
module.exports = getLastPage
const getPage = __webpack_require__(265)
const getPage = __nested_webpack_require_268071__(265)
function getLastPage (octokit, link, headers) {
return getPage(octokit, link, 'last', headers)
@ -9389,12 +9472,12 @@ if (process.platform === 'linux') {
/***/ 669:
/***/ (function(module) {
module.exports = require("util");
module.exports = __webpack_require__(669);
/***/ }),
/***/ 672:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_269761__) {
"use strict";
@ -9409,9 +9492,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
};
var _a;
Object.defineProperty(exports, "__esModule", { value: true });
const assert_1 = __webpack_require__(357);
const fs = __webpack_require__(747);
const path = __webpack_require__(622);
const assert_1 = __nested_webpack_require_269761__(357);
const fs = __nested_webpack_require_269761__(747);
const path = __nested_webpack_require_269761__(622);
_a = fs.promises, exports.chmod = _a.chmod, exports.copyFile = _a.copyFile, exports.lstat = _a.lstat, exports.mkdir = _a.mkdir, exports.readdir = _a.readdir, exports.readlink = _a.readlink, exports.rename = _a.rename, exports.rmdir = _a.rmdir, exports.stat = _a.stat, exports.symlink = _a.symlink, exports.unlink = _a.unlink;
exports.IS_WINDOWS = process.platform === 'win32';
function exists(fsPath) {
@ -9596,12 +9679,12 @@ function isUnixExecutable(stats) {
/***/ }),
/***/ 674:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_277438__) {
module.exports = authenticate;
const { Deprecation } = __webpack_require__(692);
const once = __webpack_require__(969);
const { Deprecation } = __nested_webpack_require_277438__(692);
const once = __nested_webpack_require_277438__(969);
const deprecateAuthenticate = once((log, deprecation) => log.warn(deprecation));
@ -9779,14 +9862,14 @@ module.exports = {"activity":{"checkStarringRepo":{"method":"GET","params":{"own
/***/ }),
/***/ 742:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_424724__) {
var fs = __webpack_require__(747)
var fs = __nested_webpack_require_424724__(747)
var core
if (process.platform === 'win32' || global.TESTING_WINDOWS) {
core = __webpack_require__(818)
core = __nested_webpack_require_424724__(818)
} else {
core = __webpack_require__(197)
core = __nested_webpack_require_424724__(197)
}
module.exports = isexe
@ -9845,12 +9928,12 @@ function sync (path, options) {
/***/ 747:
/***/ (function(module) {
module.exports = require("fs");
module.exports = __webpack_require__(747);
/***/ }),
/***/ 753:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_426103__) {
"use strict";
@ -9859,11 +9942,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var endpoint = __webpack_require__(385);
var universalUserAgent = __webpack_require__(211);
var isPlainObject = _interopDefault(__webpack_require__(696));
var nodeFetch = _interopDefault(__webpack_require__(454));
var requestError = __webpack_require__(463);
var endpoint = __nested_webpack_require_426103__(385);
var universalUserAgent = __nested_webpack_require_426103__(211);
var isPlainObject = _interopDefault(__nested_webpack_require_426103__(696));
var nodeFetch = _interopDefault(__nested_webpack_require_426103__(454));
var requestError = __nested_webpack_require_426103__(463);
const VERSION = "0.0.0-development";
@ -10004,7 +10087,7 @@ exports.request = request;
/***/ 761:
/***/ (function(module) {
module.exports = require("zlib");
module.exports = __webpack_require__(761);
/***/ }),
@ -10056,11 +10139,11 @@ module.exports = function (x) {
/***/ }),
/***/ 777:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_430788__) {
module.exports = getFirstPage
const getPage = __webpack_require__(265)
const getPage = __nested_webpack_require_430788__(265)
function getFirstPage (octokit, link, headers) {
return getPage(octokit, link, 'first', headers)
@ -10070,11 +10153,11 @@ function getFirstPage (octokit, link, headers) {
/***/ }),
/***/ 807:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_431051__) {
module.exports = paginate;
const iterator = __webpack_require__(8);
const iterator = __nested_webpack_require_431051__(8);
function paginate(octokit, route, options, mapFn) {
if (typeof options === "function") {
@ -10117,7 +10200,7 @@ function gather(octokit, results, iterator, mapFn) {
/***/ }),
/***/ 814:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_431960__) {
module.exports = which
which.sync = whichSync
@ -10126,9 +10209,9 @@ var isWindows = process.platform === 'win32' ||
process.env.OSTYPE === 'cygwin' ||
process.env.OSTYPE === 'msys'
var path = __webpack_require__(622)
var path = __nested_webpack_require_431960__(622)
var COLON = isWindows ? ';' : ':'
var isexe = __webpack_require__(742)
var isexe = __nested_webpack_require_431960__(742)
function getNotFoundError (cmd) {
var er = new Error('not found: ' + cmd)
@ -10269,12 +10352,12 @@ module.exports = /^#!.*/;
/***/ }),
/***/ 818:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_435342__) {
module.exports = isexe
isexe.sync = sync
var fs = __webpack_require__(747)
var fs = __nested_webpack_require_435342__(747)
function checkPathExt (path, options) {
var pathext = options.pathExt !== undefined ?
@ -10318,7 +10401,7 @@ function sync (path, options) {
/***/ }),
/***/ 821:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_436332__) {
"use strict";
@ -10330,10 +10413,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
const core = __importStar(__webpack_require__(470));
const fsHelper = __importStar(__webpack_require__(618));
const github = __importStar(__webpack_require__(469));
const path = __importStar(__webpack_require__(622));
const core = __importStar(__nested_webpack_require_436332__(470));
const fsHelper = __importStar(__nested_webpack_require_436332__(618));
const github = __importStar(__nested_webpack_require_436332__(469));
const path = __importStar(__nested_webpack_require_436332__(622));
function getInputs() {
const result = {};
// GitHub workspace
@ -10411,24 +10494,24 @@ exports.getInputs = getInputs;
/***/ 835:
/***/ (function(module) {
module.exports = require("url");
module.exports = __webpack_require__(835);
/***/ }),
/***/ 850:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_440000__) {
module.exports = paginationMethodsPlugin
function paginationMethodsPlugin (octokit) {
octokit.getFirstPage = __webpack_require__(777).bind(null, octokit)
octokit.getLastPage = __webpack_require__(649).bind(null, octokit)
octokit.getNextPage = __webpack_require__(550).bind(null, octokit)
octokit.getPreviousPage = __webpack_require__(563).bind(null, octokit)
octokit.hasFirstPage = __webpack_require__(536)
octokit.hasLastPage = __webpack_require__(336)
octokit.hasNextPage = __webpack_require__(929)
octokit.hasPreviousPage = __webpack_require__(558)
octokit.getFirstPage = __nested_webpack_require_440000__(777).bind(null, octokit)
octokit.getLastPage = __nested_webpack_require_440000__(649).bind(null, octokit)
octokit.getNextPage = __nested_webpack_require_440000__(550).bind(null, octokit)
octokit.getPreviousPage = __nested_webpack_require_440000__(563).bind(null, octokit)
octokit.hasFirstPage = __nested_webpack_require_440000__(536)
octokit.hasLastPage = __nested_webpack_require_440000__(336)
octokit.hasNextPage = __nested_webpack_require_440000__(929)
octokit.hasPreviousPage = __nested_webpack_require_440000__(558)
}
@ -11373,11 +11456,11 @@ module.exports = get;
/***/ }),
/***/ 855:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_464109__) {
module.exports = registerPlugin;
const factory = __webpack_require__(47);
const factory = __nested_webpack_require_464109__(47);
function registerPlugin(plugins, pluginFunction) {
return factory(
@ -11412,13 +11495,13 @@ module.exports = class GraphqlError extends Error {
/***/ }),
/***/ 863:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_464930__) {
module.exports = authenticationBeforeRequest;
const btoa = __webpack_require__(675);
const btoa = __nested_webpack_require_464930__(675);
const withAuthorizationPrefix = __webpack_require__(143);
const withAuthorizationPrefix = __nested_webpack_require_464930__(143);
function authenticationBeforeRequest(state, options) {
if (typeof state.auth === "string") {
@ -11484,11 +11567,11 @@ function authenticationBeforeRequest(state, options) {
/***/ }),
/***/ 866:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_467457__) {
"use strict";
var shebangRegex = __webpack_require__(816);
var shebangRegex = __nested_webpack_require_467457__(816);
module.exports = function (str) {
var match = str.match(shebangRegex);
@ -12575,11 +12658,11 @@ module.exports = set;
/***/ }),
/***/ 899:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_494707__) {
module.exports = registerEndpoints;
const { Deprecation } = __webpack_require__(692);
const { Deprecation } = __nested_webpack_require_494707__(692);
function registerEndpoints(octokit, routes) {
Object.keys(routes).forEach(namespaceName => {
@ -12680,12 +12763,12 @@ function patchForDeprecation(octokit, apiOptions, method, methodName) {
/***/ }),
/***/ 929:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_497665__) {
module.exports = hasNextPage
const deprecate = __webpack_require__(370)
const getPageLinks = __webpack_require__(577)
const deprecate = __nested_webpack_require_497665__(370)
const getPageLinks = __nested_webpack_require_497665__(577)
function hasNextPage (link) {
deprecate(`octokit.hasNextPage() You can use octokit.paginate or async iterators instead: https://github.com/octokit/rest.js#pagination.`)
@ -12743,21 +12826,21 @@ function validateAuth(auth) {
/***/ }),
/***/ 955:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_498844__) {
"use strict";
const path = __webpack_require__(622);
const childProcess = __webpack_require__(129);
const crossSpawn = __webpack_require__(20);
const stripEof = __webpack_require__(768);
const npmRunPath = __webpack_require__(621);
const isStream = __webpack_require__(323);
const _getStream = __webpack_require__(145);
const pFinally = __webpack_require__(697);
const onExit = __webpack_require__(260);
const errname = __webpack_require__(427);
const stdio = __webpack_require__(168);
const path = __nested_webpack_require_498844__(622);
const childProcess = __nested_webpack_require_498844__(129);
const crossSpawn = __nested_webpack_require_498844__(20);
const stripEof = __nested_webpack_require_498844__(768);
const npmRunPath = __nested_webpack_require_498844__(621);
const isStream = __nested_webpack_require_498844__(323);
const _getStream = __nested_webpack_require_498844__(145);
const pFinally = __nested_webpack_require_498844__(697);
const onExit = __nested_webpack_require_498844__(260);
const errname = __nested_webpack_require_498844__(427);
const stdio = __nested_webpack_require_498844__(168);
const TEN_MEGABYTES = 1000 * 1000 * 10;
@ -13112,11 +13195,11 @@ module.exports.shellSync = (cmd, opts) => handleShell(module.exports.sync, cmd,
/***/ }),
/***/ 966:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_506640__) {
"use strict";
const {PassThrough} = __webpack_require__(413);
const {PassThrough} = __nested_webpack_require_506640__(413);
module.exports = options => {
options = Object.assign({}, options);
@ -13171,9 +13254,9 @@ module.exports = options => {
/***/ }),
/***/ 969:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_507578__) {
var wrappy = __webpack_require__(11)
var wrappy = __nested_webpack_require_507578__(11)
module.exports = wrappy(once)
module.exports.strict = wrappy(onceStrict)
@ -13220,7 +13303,7 @@ function onceStrict (fn) {
/***/ }),
/***/ 986:
/***/ (function(__unusedmodule, exports, __webpack_require__) {
/***/ (function(__unusedmodule, exports, __nested_webpack_require_508608__) {
"use strict";
@ -13234,7 +13317,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
});
};
Object.defineProperty(exports, "__esModule", { value: true });
const tr = __webpack_require__(9);
const tr = __nested_webpack_require_508608__(9);
/**
* Exec a command.
* Output will be streamed to the live console.
@ -13264,11 +13347,11 @@ exports.exec = exec;
/***/ }),
/***/ 991:
/***/ (function(module, __unusedexports, __webpack_require__) {
/***/ (function(module, __unusedexports, __nested_webpack_require_510532__) {
module.exports = authenticationRequestError;
const { RequestError } = __webpack_require__(463);
const { RequestError } = __nested_webpack_require_510532__(463);
function authenticationRequestError(state, error, options) {
if (!error.headers) throw error;
@ -13329,6 +13412,59 @@ function authenticationRequestError(state, error, options) {
}
/***/ })
/******/ });
/***/ }),
/***/ 605:
/***/ (function(module) {
module.exports = require("http");
/***/ }),
/***/ 614:
/***/ (function(module) {
module.exports = require("events");
/***/ }),
/***/ 622:
/***/ (function(module) {
module.exports = require("path");
/***/ }),
/***/ 669:
/***/ (function(module) {
module.exports = require("util");
/***/ }),
/***/ 747:
/***/ (function(module) {
module.exports = require("fs");
/***/ }),
/***/ 761:
/***/ (function(module) {
module.exports = require("zlib");
/***/ }),
/***/ 835:
/***/ (function(module) {
module.exports = require("url");
/***/ })
/******/ });

View File

@ -2,7 +2,7 @@
"name": "checkout",
"version": "2.0.0",
"description": "checkout action",
"main": "lib/main.js",
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"format": "prettier --write **/*.ts",

View File

@ -96,7 +96,7 @@ function updateUsage(
}
updateUsage(
'actions/checkout@preview',
'actions/checkout@v2-beta',
path.join(__dirname, '..', '..', 'action.yml'),
path.join(__dirname, '..', '..', 'README.md')
)