@ -1295,51 +1295,6 @@ module.exports._parse = parse;
module . exports . _enoent = enoent ;
/***/ } ) ,
/***/ 24 :
/***/ ( function ( _ _unusedmodule , exports , _ _webpack _require _ _ ) {
"use strict" ;
var _ _createBinding = ( this && this . _ _createBinding ) || ( Object . create ? ( function ( o , m , k , k2 ) {
if ( k2 === undefined ) k2 = k ;
Object . defineProperty ( o , k2 , { enumerable : true , get : function ( ) { return m [ k ] ; } } ) ;
} ) : ( function ( o , m , k , k2 ) {
if ( k2 === undefined ) k2 = k ;
o [ k2 ] = m [ k ] ;
} ) ) ;
var _ _setModuleDefault = ( this && this . _ _setModuleDefault ) || ( Object . create ? ( function ( o , v ) {
Object . defineProperty ( o , "default" , { enumerable : true , value : v } ) ;
} ) : function ( o , v ) {
o [ "default" ] = v ;
} ) ;
var _ _importStar = ( this && this . _ _importStar ) || function ( mod ) {
if ( mod && mod . _ _esModule ) return mod ;
var result = { } ;
if ( mod != null ) for ( var k in mod ) if ( k !== "default" && Object . prototype . hasOwnProperty . call ( mod , k ) ) _ _createBinding ( result , mod , k ) ;
_ _setModuleDefault ( result , mod ) ;
return result ;
} ;
Object . defineProperty ( exports , "__esModule" , { value : true } ) ;
exports . getOctokit = exports . Octokit = void 0 ;
const github = _ _importStar ( _ _webpack _require _ _ ( 469 ) ) ;
const url _helper _1 = _ _webpack _require _ _ ( 81 ) ;
// Centralize all Octokit references by re-exporting
var rest _1 = _ _webpack _require _ _ ( 0 ) ;
Object . defineProperty ( exports , "Octokit" , { enumerable : true , get : function ( ) { return rest _1 . Octokit ; } } ) ;
function getOctokit ( authToken , opts ) {
const options = {
baseUrl : ( 0 , url _helper _1 . getServerApiUrl ) ( opts . baseUrl )
} ;
if ( opts . userAgent ) {
options . userAgent = opts . userAgent ;
}
return new github . GitHub ( authToken , options ) ;
}
exports . getOctokit = getOctokit ;
/***/ } ) ,
/***/ 26 :
@ -4125,6 +4080,51 @@ function authenticationPlugin(octokit, options) {
}
/***/ } ) ,
/***/ 195 :
/***/ ( function ( _ _unusedmodule , exports , _ _webpack _require _ _ ) {
"use strict" ;
var _ _createBinding = ( this && this . _ _createBinding ) || ( Object . create ? ( function ( o , m , k , k2 ) {
if ( k2 === undefined ) k2 = k ;
Object . defineProperty ( o , k2 , { enumerable : true , get : function ( ) { return m [ k ] ; } } ) ;
} ) : ( function ( o , m , k , k2 ) {
if ( k2 === undefined ) k2 = k ;
o [ k2 ] = m [ k ] ;
} ) ) ;
var _ _setModuleDefault = ( this && this . _ _setModuleDefault ) || ( Object . create ? ( function ( o , v ) {
Object . defineProperty ( o , "default" , { enumerable : true , value : v } ) ;
} ) : function ( o , v ) {
o [ "default" ] = v ;
} ) ;
var _ _importStar = ( this && this . _ _importStar ) || function ( mod ) {
if ( mod && mod . _ _esModule ) return mod ;
var result = { } ;
if ( mod != null ) for ( var k in mod ) if ( k !== "default" && Object . prototype . hasOwnProperty . call ( mod , k ) ) _ _createBinding ( result , mod , k ) ;
_ _setModuleDefault ( result , mod ) ;
return result ;
} ;
Object . defineProperty ( exports , "__esModule" , { value : true } ) ;
exports . getOctokit = exports . Octokit = void 0 ;
const github = _ _importStar ( _ _webpack _require _ _ ( 469 ) ) ;
const url _helper _1 = _ _webpack _require _ _ ( 81 ) ;
// Centralize all Octokit references by re-exporting
var rest _1 = _ _webpack _require _ _ ( 0 ) ;
Object . defineProperty ( exports , "Octokit" , { enumerable : true , get : function ( ) { return rest _1 . Octokit ; } } ) ;
function getOctokit ( authToken , opts ) {
const options = {
baseUrl : ( 0 , url _helper _1 . getServerApiUrl ) ( opts . baseUrl )
} ;
if ( opts . userAgent ) {
options . userAgent = opts . userAgent ;
}
return new github . GitHub ( authToken , options ) ;
}
exports . getOctokit = getOctokit ;
/***/ } ) ,
/***/ 197 :
@ -4340,7 +4340,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
exports . checkCommitInfo = exports . testRef = exports . getRefSpec = exports . getRefSpecForAllHistory = exports . getCheckoutInfo = exports . tagsRefSpec = void 0 ;
const core = _ _importStar ( _ _webpack _require _ _ ( 470 ) ) ;
const github = _ _importStar ( _ _webpack _require _ _ ( 469 ) ) ;
const octokit _ hel per_1 = _ _webpack _require _ _ ( 24 ) ;
const octokit _ provid er_1 = _ _webpack _require _ _ ( 195 ) ;
const url _helper _1 = _ _webpack _require _ _ ( 81 ) ;
exports . tagsRefSpec = '+refs/tags/*:refs/tags/*' ;
function getCheckoutInfo ( git , ref , commit ) {
@ -4541,7 +4541,7 @@ function checkCommitInfo(token, commitInfo, repositoryOwner, repositoryName, ref
const actualHeadSha = match [ 1 ] ;
if ( actualHeadSha !== expectedHeadSha ) {
core . debug ( ` Expected head sha ${ expectedHeadSha } ; actual head sha ${ actualHeadSha } ` ) ;
const octokit = ( 0 , octokit _ hel per_1 . getOctokit ) ( token , {
const octokit = ( 0 , octokit _ provid er_1 . getOctokit ) ( token , {
baseUrl : baseUrl ,
userAgent : ` actions-checkout-tracepoint/1.0 (code=STALE_MERGE;owner= ${ repositoryOwner } ;repo= ${ repositoryName } ;pr= ${ fromPayload ( 'number' ) } ;run_id= ${ process . env [ 'GITHUB_RUN_ID' ] } ;expected_head_sha= ${ expectedHeadSha } ;actual_head_sha= ${ actualHeadSha } ) `
} ) ;
@ -11028,7 +11028,7 @@ const path = __importStar(__webpack_require__(622));
const retryHelper = _ _importStar ( _ _webpack _require _ _ ( 587 ) ) ;
const toolCache = _ _importStar ( _ _webpack _require _ _ ( 533 ) ) ;
const v4 _1 = _ _importDefault ( _ _webpack _require _ _ ( 826 ) ) ;
const octokit _ hel per_1 = _ _webpack _require _ _ ( 24 ) ;
const octokit _ provid er_1 = _ _webpack _require _ _ ( 195 ) ;
const IS _WINDOWS = process . platform === 'win32' ;
function downloadRepository ( authToken , owner , repo , ref , commit , repositoryPath , baseUrl ) {
return _ _awaiter ( this , void 0 , void 0 , function * ( ) {
@ -11089,7 +11089,7 @@ function getDefaultBranch(authToken, owner, repo, baseUrl) {
return yield retryHelper . execute ( ( ) => _ _awaiter ( this , void 0 , void 0 , function * ( ) {
var _a ;
core . info ( 'Retrieving the default branch name' ) ;
const octokit = ( 0 , octokit _ hel per_1 . getOctokit ) ( authToken , { baseUrl : baseUrl } ) ;
const octokit = ( 0 , octokit _ provid er_1 . getOctokit ) ( authToken , { baseUrl : baseUrl } ) ;
let result ;
try {
// Get the default branch from the repo info
@ -11121,7 +11121,7 @@ function getDefaultBranch(authToken, owner, repo, baseUrl) {
exports . getDefaultBranch = getDefaultBranch ;
function downloadArchive ( authToken , owner , repo , ref , commit , baseUrl ) {
return _ _awaiter ( this , void 0 , void 0 , function * ( ) {
const octokit = ( 0 , octokit _ hel per_1 . getOctokit ) ( authToken , { baseUrl : baseUrl } ) ;
const octokit = ( 0 , octokit _ provid er_1 . getOctokit ) ( authToken , { baseUrl : baseUrl } ) ;
const params = {
owner : owner ,
repo : repo ,