mirror of
https://github.com/actions/configure-pages.git
synced 2026-03-30 10:04:52 +00:00
Compare commits
18 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f156874f81 | ||
|
|
fe71f9ae5d | ||
|
|
41eccaebbe | ||
|
|
9cb82625f8 | ||
|
|
fadcf1a88f | ||
|
|
1269962883 | ||
|
|
ee9b267268 | ||
|
|
3f3c78f313 | ||
|
|
22baedcbd5 | ||
|
|
5549504006 | ||
|
|
dbf7935b84 | ||
|
|
905065c25d | ||
|
|
17109fe139 | ||
|
|
2a4c30ee0a | ||
|
|
031419c070 | ||
|
|
17d80648a1 | ||
|
|
f207b2fdea | ||
|
|
ea6c51c96e |
70
.github/workflows/codeql-analysis.yml
vendored
Normal file
70
.github/workflows/codeql-analysis.yml
vendored
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
# For most projects, this workflow file will not need changing; you simply need
|
||||||
|
# to commit it to your repository.
|
||||||
|
#
|
||||||
|
# You may wish to alter this file to override the set of languages analyzed,
|
||||||
|
# or to provide custom queries or build logic.
|
||||||
|
#
|
||||||
|
# ******** NOTE ********
|
||||||
|
# We have attempted to detect the languages in your repository. Please check
|
||||||
|
# the `language` matrix defined below to confirm you have the correct set of
|
||||||
|
# supported CodeQL languages.
|
||||||
|
#
|
||||||
|
name: 'CodeQL'
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
pull_request:
|
||||||
|
# The branches below must be a subset of the branches above
|
||||||
|
branches: [main]
|
||||||
|
schedule:
|
||||||
|
- cron: '40 0 * * 1'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
analyze:
|
||||||
|
name: Analyze
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
actions: read
|
||||||
|
contents: read
|
||||||
|
security-events: write
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
language: ['javascript']
|
||||||
|
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
|
||||||
|
# Learn more about CodeQL language support at https://git.io/codeql-language-support
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
# Initializes the CodeQL tools for scanning.
|
||||||
|
- name: Initialize CodeQL
|
||||||
|
uses: github/codeql-action/init@v2
|
||||||
|
with:
|
||||||
|
languages: ${{ matrix.language }}
|
||||||
|
# If you wish to specify custom queries, you can do so here or in a config file.
|
||||||
|
# By default, queries listed here will override any specified in a config file.
|
||||||
|
# Prefix the list here with "+" to use these queries and those in the config file.
|
||||||
|
# queries: ./path/to/local/query, your-org/your-repo/queries@main
|
||||||
|
|
||||||
|
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
||||||
|
# If this step fails, then you should remove it and run the build manually (see below)
|
||||||
|
- name: Autobuild
|
||||||
|
uses: github/codeql-action/autobuild@v2
|
||||||
|
|
||||||
|
# ℹ️ Command-line programs to run using the OS shell.
|
||||||
|
# 📚 https://git.io/JvXDl
|
||||||
|
|
||||||
|
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
|
||||||
|
# and modify them (or add more) to build your code if your project
|
||||||
|
# uses a compiled language
|
||||||
|
|
||||||
|
#- run: |
|
||||||
|
# make bootstrap
|
||||||
|
# make release
|
||||||
|
|
||||||
|
- name: Perform CodeQL Analysis
|
||||||
|
uses: github/codeql-action/analyze@v2
|
||||||
82
dist/index.js
vendored
82
dist/index.js
vendored
@@ -16013,7 +16013,10 @@ async function findOrCreatePagesSite({ githubToken, enablement = true }) {
|
|||||||
pageObject = await getPagesSite({ githubToken })
|
pageObject = await getPagesSite({ githubToken })
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if (!enablement) {
|
if (!enablement) {
|
||||||
core.error('Get Pages site failed', error)
|
core.error(
|
||||||
|
'Get Pages site failed. Please verify that the repository has Pages enabled and configured to build using GitHub Actions, or consider exploring the `enablement` parameter for this action.',
|
||||||
|
error
|
||||||
|
)
|
||||||
throw error
|
throw error
|
||||||
}
|
}
|
||||||
core.warning('Get Pages site failed', error)
|
core.warning('Get Pages site failed', error)
|
||||||
@@ -16806,14 +16809,6 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|||||||
* @type {VisitorKeys}
|
* @type {VisitorKeys}
|
||||||
*/
|
*/
|
||||||
const KEYS = {
|
const KEYS = {
|
||||||
AssignmentExpression: [
|
|
||||||
"left",
|
|
||||||
"right"
|
|
||||||
],
|
|
||||||
AssignmentPattern: [
|
|
||||||
"left",
|
|
||||||
"right"
|
|
||||||
],
|
|
||||||
ArrayExpression: [
|
ArrayExpression: [
|
||||||
"elements"
|
"elements"
|
||||||
],
|
],
|
||||||
@@ -16824,16 +16819,24 @@ const KEYS = {
|
|||||||
"params",
|
"params",
|
||||||
"body"
|
"body"
|
||||||
],
|
],
|
||||||
|
AssignmentExpression: [
|
||||||
|
"left",
|
||||||
|
"right"
|
||||||
|
],
|
||||||
|
AssignmentPattern: [
|
||||||
|
"left",
|
||||||
|
"right"
|
||||||
|
],
|
||||||
AwaitExpression: [
|
AwaitExpression: [
|
||||||
"argument"
|
"argument"
|
||||||
],
|
],
|
||||||
BlockStatement: [
|
|
||||||
"body"
|
|
||||||
],
|
|
||||||
BinaryExpression: [
|
BinaryExpression: [
|
||||||
"left",
|
"left",
|
||||||
"right"
|
"right"
|
||||||
],
|
],
|
||||||
|
BlockStatement: [
|
||||||
|
"body"
|
||||||
|
],
|
||||||
BreakStatement: [
|
BreakStatement: [
|
||||||
"label"
|
"label"
|
||||||
],
|
],
|
||||||
@@ -16875,6 +16878,12 @@ const KEYS = {
|
|||||||
"test"
|
"test"
|
||||||
],
|
],
|
||||||
EmptyStatement: [],
|
EmptyStatement: [],
|
||||||
|
ExperimentalRestProperty: [
|
||||||
|
"argument"
|
||||||
|
],
|
||||||
|
ExperimentalSpreadProperty: [
|
||||||
|
"argument"
|
||||||
|
],
|
||||||
ExportAllDeclaration: [
|
ExportAllDeclaration: [
|
||||||
"exported",
|
"exported",
|
||||||
"source"
|
"source"
|
||||||
@@ -16894,18 +16903,6 @@ const KEYS = {
|
|||||||
ExpressionStatement: [
|
ExpressionStatement: [
|
||||||
"expression"
|
"expression"
|
||||||
],
|
],
|
||||||
ExperimentalRestProperty: [
|
|
||||||
"argument"
|
|
||||||
],
|
|
||||||
ExperimentalSpreadProperty: [
|
|
||||||
"argument"
|
|
||||||
],
|
|
||||||
ForStatement: [
|
|
||||||
"init",
|
|
||||||
"test",
|
|
||||||
"update",
|
|
||||||
"body"
|
|
||||||
],
|
|
||||||
ForInStatement: [
|
ForInStatement: [
|
||||||
"left",
|
"left",
|
||||||
"right",
|
"right",
|
||||||
@@ -16916,6 +16913,12 @@ const KEYS = {
|
|||||||
"right",
|
"right",
|
||||||
"body"
|
"body"
|
||||||
],
|
],
|
||||||
|
ForStatement: [
|
||||||
|
"init",
|
||||||
|
"test",
|
||||||
|
"update",
|
||||||
|
"body"
|
||||||
|
],
|
||||||
FunctionDeclaration: [
|
FunctionDeclaration: [
|
||||||
"id",
|
"id",
|
||||||
"params",
|
"params",
|
||||||
@@ -16956,6 +16959,7 @@ const KEYS = {
|
|||||||
JSXClosingElement: [
|
JSXClosingElement: [
|
||||||
"name"
|
"name"
|
||||||
],
|
],
|
||||||
|
JSXClosingFragment: [],
|
||||||
JSXElement: [
|
JSXElement: [
|
||||||
"openingElement",
|
"openingElement",
|
||||||
"children",
|
"children",
|
||||||
@@ -16965,6 +16969,11 @@ const KEYS = {
|
|||||||
JSXExpressionContainer: [
|
JSXExpressionContainer: [
|
||||||
"expression"
|
"expression"
|
||||||
],
|
],
|
||||||
|
JSXFragment: [
|
||||||
|
"openingFragment",
|
||||||
|
"children",
|
||||||
|
"closingFragment"
|
||||||
|
],
|
||||||
JSXIdentifier: [],
|
JSXIdentifier: [],
|
||||||
JSXMemberExpression: [
|
JSXMemberExpression: [
|
||||||
"object",
|
"object",
|
||||||
@@ -16978,22 +16987,19 @@ const KEYS = {
|
|||||||
"name",
|
"name",
|
||||||
"attributes"
|
"attributes"
|
||||||
],
|
],
|
||||||
|
JSXOpeningFragment: [],
|
||||||
JSXSpreadAttribute: [
|
JSXSpreadAttribute: [
|
||||||
"argument"
|
"argument"
|
||||||
],
|
],
|
||||||
JSXText: [],
|
JSXSpreadChild: [
|
||||||
JSXFragment: [
|
"expression"
|
||||||
"openingFragment",
|
|
||||||
"children",
|
|
||||||
"closingFragment"
|
|
||||||
],
|
],
|
||||||
JSXClosingFragment: [],
|
JSXText: [],
|
||||||
JSXOpeningFragment: [],
|
|
||||||
Literal: [],
|
|
||||||
LabeledStatement: [
|
LabeledStatement: [
|
||||||
"label",
|
"label",
|
||||||
"body"
|
"body"
|
||||||
],
|
],
|
||||||
|
Literal: [],
|
||||||
LogicalExpression: [
|
LogicalExpression: [
|
||||||
"left",
|
"left",
|
||||||
"right"
|
"right"
|
||||||
@@ -17048,14 +17054,14 @@ const KEYS = {
|
|||||||
"body"
|
"body"
|
||||||
],
|
],
|
||||||
Super: [],
|
Super: [],
|
||||||
SwitchStatement: [
|
|
||||||
"discriminant",
|
|
||||||
"cases"
|
|
||||||
],
|
|
||||||
SwitchCase: [
|
SwitchCase: [
|
||||||
"test",
|
"test",
|
||||||
"consequent"
|
"consequent"
|
||||||
],
|
],
|
||||||
|
SwitchStatement: [
|
||||||
|
"discriminant",
|
||||||
|
"cases"
|
||||||
|
],
|
||||||
TaggedTemplateExpression: [
|
TaggedTemplateExpression: [
|
||||||
"tag",
|
"tag",
|
||||||
"quasi"
|
"quasi"
|
||||||
@@ -17175,7 +17181,6 @@ function unionWith(additionalKeys) {
|
|||||||
exports.KEYS = KEYS;
|
exports.KEYS = KEYS;
|
||||||
exports.getKeys = getKeys;
|
exports.getKeys = getKeys;
|
||||||
exports.unionWith = unionWith;
|
exports.unionWith = unionWith;
|
||||||
//# sourceMappingURL=eslint-visitor-keys.cjs.map
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
@@ -17946,7 +17951,7 @@ var espree = () => Parser => {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
const version$1 = "9.5.0";
|
const version$1 = "9.5.1";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @fileoverview Main Espree file that converts Acorn into Esprima output.
|
* @fileoverview Main Espree file that converts Acorn into Esprima output.
|
||||||
@@ -18123,7 +18128,6 @@ exports.parse = parse;
|
|||||||
exports.supportedEcmaVersions = supportedEcmaVersions;
|
exports.supportedEcmaVersions = supportedEcmaVersions;
|
||||||
exports.tokenize = tokenize;
|
exports.tokenize = tokenize;
|
||||||
exports.version = version;
|
exports.version = version;
|
||||||
//# sourceMappingURL=espree.cjs.map
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|||||||
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
131
package-lock.json
generated
131
package-lock.json
generated
@@ -15,11 +15,11 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vercel/ncc": "^0.36.1",
|
"@vercel/ncc": "^0.36.1",
|
||||||
"eslint": "^8.36.0",
|
"eslint": "^8.38.0",
|
||||||
"eslint-config-prettier": "^8.7.0",
|
"eslint-config-prettier": "^8.8.0",
|
||||||
"eslint-plugin-github": "^4.6.1",
|
"eslint-plugin-github": "^4.7.0",
|
||||||
"jest": "^29.5.0",
|
"jest": "^29.5.0",
|
||||||
"prettier": "^2.8.4"
|
"prettier": "^2.8.7"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@actions/core": {
|
"node_modules/@actions/core": {
|
||||||
@@ -688,14 +688,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@eslint/eslintrc": {
|
"node_modules/@eslint/eslintrc": {
|
||||||
"version": "2.0.1",
|
"version": "2.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.2.tgz",
|
||||||
"integrity": "sha512-eFRmABvW2E5Ho6f5fHLqgena46rOj7r7OKHYfLElqcBfGFHHpjBhivyi5+jOEQuSpdc/1phIZJlbC2te+tZNIw==",
|
"integrity": "sha512-3W4f5tDUra+pA+FzgugqL2pRimUTDJWKr7BINqOpkZrC0uYI0NIc0/JFgBROCU07HR6GieA5m3/rsPIhDmCXTQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"ajv": "^6.12.4",
|
"ajv": "^6.12.4",
|
||||||
"debug": "^4.3.2",
|
"debug": "^4.3.2",
|
||||||
"espree": "^9.5.0",
|
"espree": "^9.5.1",
|
||||||
"globals": "^13.19.0",
|
"globals": "^13.19.0",
|
||||||
"ignore": "^5.2.0",
|
"ignore": "^5.2.0",
|
||||||
"import-fresh": "^3.2.1",
|
"import-fresh": "^3.2.1",
|
||||||
@@ -756,9 +756,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@eslint/js": {
|
"node_modules/@eslint/js": {
|
||||||
"version": "8.36.0",
|
"version": "8.38.0",
|
||||||
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.36.0.tgz",
|
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.38.0.tgz",
|
||||||
"integrity": "sha512-lxJ9R5ygVm8ZWgYdUweoq5ownDlJ4upvoWmO4eLxBYHdMo+vZ/Rx0EN6MbKWDJOSUGrqJy2Gt+Dyv/VKml0fjg==",
|
"integrity": "sha512-IoD2MfUnOV58ghIHCiil01PcohxjbYR/qCxsoC+xNgUwh1EY8jOOrYmu3d3a71+tJJ23uscEV4X2HJWMsPJu4g==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
||||||
@@ -2511,15 +2511,15 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/eslint": {
|
"node_modules/eslint": {
|
||||||
"version": "8.36.0",
|
"version": "8.38.0",
|
||||||
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.36.0.tgz",
|
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.38.0.tgz",
|
||||||
"integrity": "sha512-Y956lmS7vDqomxlaaQAHVmeb4tNMp2FWIvU/RnU5BD3IKMD/MJPr76xdyr68P8tV1iNMvN2mRK0yy3c+UjL+bw==",
|
"integrity": "sha512-pIdsD2jwlUGf/U38Jv97t8lq6HpaU/G9NKbYmpWpZGw3LdTNhZLbJePqxOXGB5+JEKfOPU/XLxYxFh03nr1KTg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@eslint-community/eslint-utils": "^4.2.0",
|
"@eslint-community/eslint-utils": "^4.2.0",
|
||||||
"@eslint-community/regexpp": "^4.4.0",
|
"@eslint-community/regexpp": "^4.4.0",
|
||||||
"@eslint/eslintrc": "^2.0.1",
|
"@eslint/eslintrc": "^2.0.2",
|
||||||
"@eslint/js": "8.36.0",
|
"@eslint/js": "8.38.0",
|
||||||
"@humanwhocodes/config-array": "^0.11.8",
|
"@humanwhocodes/config-array": "^0.11.8",
|
||||||
"@humanwhocodes/module-importer": "^1.0.1",
|
"@humanwhocodes/module-importer": "^1.0.1",
|
||||||
"@nodelib/fs.walk": "^1.2.8",
|
"@nodelib/fs.walk": "^1.2.8",
|
||||||
@@ -2530,8 +2530,8 @@
|
|||||||
"doctrine": "^3.0.0",
|
"doctrine": "^3.0.0",
|
||||||
"escape-string-regexp": "^4.0.0",
|
"escape-string-regexp": "^4.0.0",
|
||||||
"eslint-scope": "^7.1.1",
|
"eslint-scope": "^7.1.1",
|
||||||
"eslint-visitor-keys": "^3.3.0",
|
"eslint-visitor-keys": "^3.4.0",
|
||||||
"espree": "^9.5.0",
|
"espree": "^9.5.1",
|
||||||
"esquery": "^1.4.2",
|
"esquery": "^1.4.2",
|
||||||
"esutils": "^2.0.2",
|
"esutils": "^2.0.2",
|
||||||
"fast-deep-equal": "^3.1.3",
|
"fast-deep-equal": "^3.1.3",
|
||||||
@@ -2568,9 +2568,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/eslint-config-prettier": {
|
"node_modules/eslint-config-prettier": {
|
||||||
"version": "8.7.0",
|
"version": "8.8.0",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.7.0.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.8.0.tgz",
|
||||||
"integrity": "sha512-HHVXLSlVUhMSmyW4ZzEuvjpwqamgmlfkutD53cYXLikh4pt/modINRcCIApJ84czDxM4GZInwUrromsDdTImTA==",
|
"integrity": "sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"bin": {
|
"bin": {
|
||||||
"eslint-config-prettier": "bin/cli.js"
|
"eslint-config-prettier": "bin/cli.js"
|
||||||
@@ -2680,9 +2680,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/eslint-plugin-github": {
|
"node_modules/eslint-plugin-github": {
|
||||||
"version": "4.6.1",
|
"version": "4.7.0",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-plugin-github/-/eslint-plugin-github-4.6.1.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-plugin-github/-/eslint-plugin-github-4.7.0.tgz",
|
||||||
"integrity": "sha512-AjCxE+2JmT+ppq3AVNra3iJ0BTAj6rYmtHJtkEcIEtrBHVi9xmCl5ZdIYLh7U/YKGT2cttdcYvbe59HEYW67KA==",
|
"integrity": "sha512-SIFSy6IXtN3aGQ6YyFWg/oxRUyAcYwg5G0wh+ov1HQCvmp+Pzs1GzeVjU8QcIQSSJfverQzuxWrJCAln/d2PuQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@github/browserslist-config": "^1.0.0",
|
"@github/browserslist-config": "^1.0.0",
|
||||||
@@ -2889,11 +2889,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/eslint-visitor-keys": {
|
"node_modules/eslint-visitor-keys": {
|
||||||
"version": "3.3.0",
|
"version": "3.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.0.tgz",
|
||||||
"integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==",
|
"integrity": "sha512-HPpKPUBQcAsZOsHAFwTtIKcYlCje62XB7SEAcxjtmW6TD1WVpkS6i6/hOVtTZIl4zGj/mBqpFVGvaDneik+VoQ==",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://opencollective.com/eslint"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/eslint/node_modules/argparse": {
|
"node_modules/eslint/node_modules/argparse": {
|
||||||
@@ -3000,13 +3003,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/espree": {
|
"node_modules/espree": {
|
||||||
"version": "9.5.0",
|
"version": "9.5.1",
|
||||||
"resolved": "https://registry.npmjs.org/espree/-/espree-9.5.0.tgz",
|
"resolved": "https://registry.npmjs.org/espree/-/espree-9.5.1.tgz",
|
||||||
"integrity": "sha512-JPbJGhKc47++oo4JkEoTe2wjy4fmMwvFpgJT9cQzmfXKp22Dr6Hf1tdCteLz1h0P3t+mGvWZ+4Uankvh8+c6zw==",
|
"integrity": "sha512-5yxtHSZXRSW5pvv3hAlXM5+/Oswi1AUFqBmbibKb5s6bp3rGIDkyXU6xCoyuuLhijr4SFwPrXRoZjz0AZDN9tg==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"acorn": "^8.8.0",
|
"acorn": "^8.8.0",
|
||||||
"acorn-jsx": "^5.3.2",
|
"acorn-jsx": "^5.3.2",
|
||||||
"eslint-visitor-keys": "^3.3.0"
|
"eslint-visitor-keys": "^3.4.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
||||||
@@ -5297,9 +5300,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/prettier": {
|
"node_modules/prettier": {
|
||||||
"version": "2.8.4",
|
"version": "2.8.7",
|
||||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.4.tgz",
|
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.7.tgz",
|
||||||
"integrity": "sha512-vIS4Rlc2FNh0BySk3Wkd6xmwxB0FpOndW5fisM5H8hsZSxU2VWVB5CWIkIjWvrHjIhxk2g3bfMKM87zNTrZddw==",
|
"integrity": "sha512-yPngTo3aXUUmyuTjeTUT75txrf+aMh9FiD7q9ZE/i6r0bPb22g4FsE6Y338PQX1bmfy08i9QQCB7/rcUAVntfw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"bin": {
|
"bin": {
|
||||||
"prettier": "bin-prettier.js"
|
"prettier": "bin-prettier.js"
|
||||||
@@ -6772,14 +6775,14 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"@eslint/eslintrc": {
|
"@eslint/eslintrc": {
|
||||||
"version": "2.0.1",
|
"version": "2.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.2.tgz",
|
||||||
"integrity": "sha512-eFRmABvW2E5Ho6f5fHLqgena46rOj7r7OKHYfLElqcBfGFHHpjBhivyi5+jOEQuSpdc/1phIZJlbC2te+tZNIw==",
|
"integrity": "sha512-3W4f5tDUra+pA+FzgugqL2pRimUTDJWKr7BINqOpkZrC0uYI0NIc0/JFgBROCU07HR6GieA5m3/rsPIhDmCXTQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"ajv": "^6.12.4",
|
"ajv": "^6.12.4",
|
||||||
"debug": "^4.3.2",
|
"debug": "^4.3.2",
|
||||||
"espree": "^9.5.0",
|
"espree": "^9.5.1",
|
||||||
"globals": "^13.19.0",
|
"globals": "^13.19.0",
|
||||||
"ignore": "^5.2.0",
|
"ignore": "^5.2.0",
|
||||||
"import-fresh": "^3.2.1",
|
"import-fresh": "^3.2.1",
|
||||||
@@ -6821,9 +6824,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@eslint/js": {
|
"@eslint/js": {
|
||||||
"version": "8.36.0",
|
"version": "8.38.0",
|
||||||
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.36.0.tgz",
|
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.38.0.tgz",
|
||||||
"integrity": "sha512-lxJ9R5ygVm8ZWgYdUweoq5ownDlJ4upvoWmO4eLxBYHdMo+vZ/Rx0EN6MbKWDJOSUGrqJy2Gt+Dyv/VKml0fjg==",
|
"integrity": "sha512-IoD2MfUnOV58ghIHCiil01PcohxjbYR/qCxsoC+xNgUwh1EY8jOOrYmu3d3a71+tJJ23uscEV4X2HJWMsPJu4g==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"@github/browserslist-config": {
|
"@github/browserslist-config": {
|
||||||
@@ -8159,15 +8162,15 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"eslint": {
|
"eslint": {
|
||||||
"version": "8.36.0",
|
"version": "8.38.0",
|
||||||
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.36.0.tgz",
|
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.38.0.tgz",
|
||||||
"integrity": "sha512-Y956lmS7vDqomxlaaQAHVmeb4tNMp2FWIvU/RnU5BD3IKMD/MJPr76xdyr68P8tV1iNMvN2mRK0yy3c+UjL+bw==",
|
"integrity": "sha512-pIdsD2jwlUGf/U38Jv97t8lq6HpaU/G9NKbYmpWpZGw3LdTNhZLbJePqxOXGB5+JEKfOPU/XLxYxFh03nr1KTg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@eslint-community/eslint-utils": "^4.2.0",
|
"@eslint-community/eslint-utils": "^4.2.0",
|
||||||
"@eslint-community/regexpp": "^4.4.0",
|
"@eslint-community/regexpp": "^4.4.0",
|
||||||
"@eslint/eslintrc": "^2.0.1",
|
"@eslint/eslintrc": "^2.0.2",
|
||||||
"@eslint/js": "8.36.0",
|
"@eslint/js": "8.38.0",
|
||||||
"@humanwhocodes/config-array": "^0.11.8",
|
"@humanwhocodes/config-array": "^0.11.8",
|
||||||
"@humanwhocodes/module-importer": "^1.0.1",
|
"@humanwhocodes/module-importer": "^1.0.1",
|
||||||
"@nodelib/fs.walk": "^1.2.8",
|
"@nodelib/fs.walk": "^1.2.8",
|
||||||
@@ -8178,8 +8181,8 @@
|
|||||||
"doctrine": "^3.0.0",
|
"doctrine": "^3.0.0",
|
||||||
"escape-string-regexp": "^4.0.0",
|
"escape-string-regexp": "^4.0.0",
|
||||||
"eslint-scope": "^7.1.1",
|
"eslint-scope": "^7.1.1",
|
||||||
"eslint-visitor-keys": "^3.3.0",
|
"eslint-visitor-keys": "^3.4.0",
|
||||||
"espree": "^9.5.0",
|
"espree": "^9.5.1",
|
||||||
"esquery": "^1.4.2",
|
"esquery": "^1.4.2",
|
||||||
"esutils": "^2.0.2",
|
"esutils": "^2.0.2",
|
||||||
"fast-deep-equal": "^3.1.3",
|
"fast-deep-equal": "^3.1.3",
|
||||||
@@ -8273,9 +8276,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"eslint-config-prettier": {
|
"eslint-config-prettier": {
|
||||||
"version": "8.7.0",
|
"version": "8.8.0",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.7.0.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.8.0.tgz",
|
||||||
"integrity": "sha512-HHVXLSlVUhMSmyW4ZzEuvjpwqamgmlfkutD53cYXLikh4pt/modINRcCIApJ84czDxM4GZInwUrromsDdTImTA==",
|
"integrity": "sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {}
|
"requires": {}
|
||||||
},
|
},
|
||||||
@@ -8360,9 +8363,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"eslint-plugin-github": {
|
"eslint-plugin-github": {
|
||||||
"version": "4.6.1",
|
"version": "4.7.0",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-plugin-github/-/eslint-plugin-github-4.6.1.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-plugin-github/-/eslint-plugin-github-4.7.0.tgz",
|
||||||
"integrity": "sha512-AjCxE+2JmT+ppq3AVNra3iJ0BTAj6rYmtHJtkEcIEtrBHVi9xmCl5ZdIYLh7U/YKGT2cttdcYvbe59HEYW67KA==",
|
"integrity": "sha512-SIFSy6IXtN3aGQ6YyFWg/oxRUyAcYwg5G0wh+ov1HQCvmp+Pzs1GzeVjU8QcIQSSJfverQzuxWrJCAln/d2PuQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@github/browserslist-config": "^1.0.0",
|
"@github/browserslist-config": "^1.0.0",
|
||||||
@@ -8519,18 +8522,18 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"eslint-visitor-keys": {
|
"eslint-visitor-keys": {
|
||||||
"version": "3.3.0",
|
"version": "3.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.0.tgz",
|
||||||
"integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA=="
|
"integrity": "sha512-HPpKPUBQcAsZOsHAFwTtIKcYlCje62XB7SEAcxjtmW6TD1WVpkS6i6/hOVtTZIl4zGj/mBqpFVGvaDneik+VoQ=="
|
||||||
},
|
},
|
||||||
"espree": {
|
"espree": {
|
||||||
"version": "9.5.0",
|
"version": "9.5.1",
|
||||||
"resolved": "https://registry.npmjs.org/espree/-/espree-9.5.0.tgz",
|
"resolved": "https://registry.npmjs.org/espree/-/espree-9.5.1.tgz",
|
||||||
"integrity": "sha512-JPbJGhKc47++oo4JkEoTe2wjy4fmMwvFpgJT9cQzmfXKp22Dr6Hf1tdCteLz1h0P3t+mGvWZ+4Uankvh8+c6zw==",
|
"integrity": "sha512-5yxtHSZXRSW5pvv3hAlXM5+/Oswi1AUFqBmbibKb5s6bp3rGIDkyXU6xCoyuuLhijr4SFwPrXRoZjz0AZDN9tg==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"acorn": "^8.8.0",
|
"acorn": "^8.8.0",
|
||||||
"acorn-jsx": "^5.3.2",
|
"acorn-jsx": "^5.3.2",
|
||||||
"eslint-visitor-keys": "^3.3.0"
|
"eslint-visitor-keys": "^3.4.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"esprima": {
|
"esprima": {
|
||||||
@@ -10219,9 +10222,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"prettier": {
|
"prettier": {
|
||||||
"version": "2.8.4",
|
"version": "2.8.7",
|
||||||
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.4.tgz",
|
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.7.tgz",
|
||||||
"integrity": "sha512-vIS4Rlc2FNh0BySk3Wkd6xmwxB0FpOndW5fisM5H8hsZSxU2VWVB5CWIkIjWvrHjIhxk2g3bfMKM87zNTrZddw==",
|
"integrity": "sha512-yPngTo3aXUUmyuTjeTUT75txrf+aMh9FiD7q9ZE/i6r0bPb22g4FsE6Y338PQX1bmfy08i9QQCB7/rcUAVntfw==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"prettier-linter-helpers": {
|
"prettier-linter-helpers": {
|
||||||
|
|||||||
@@ -30,10 +30,10 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vercel/ncc": "^0.36.1",
|
"@vercel/ncc": "^0.36.1",
|
||||||
"eslint": "^8.36.0",
|
"eslint": "^8.38.0",
|
||||||
"eslint-config-prettier": "^8.7.0",
|
"eslint-config-prettier": "^8.8.0",
|
||||||
"eslint-plugin-github": "^4.6.1",
|
"eslint-plugin-github": "^4.7.0",
|
||||||
"jest": "^29.5.0",
|
"jest": "^29.5.0",
|
||||||
"prettier": "^2.8.4"
|
"prettier": "^2.8.7"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -42,7 +42,10 @@ async function findOrCreatePagesSite({ githubToken, enablement = true }) {
|
|||||||
pageObject = await getPagesSite({ githubToken })
|
pageObject = await getPagesSite({ githubToken })
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if (!enablement) {
|
if (!enablement) {
|
||||||
core.error('Get Pages site failed', error)
|
core.error(
|
||||||
|
'Get Pages site failed. Please verify that the repository has Pages enabled and configured to build using GitHub Actions, or consider exploring the `enablement` parameter for this action.',
|
||||||
|
error
|
||||||
|
)
|
||||||
throw error
|
throw error
|
||||||
}
|
}
|
||||||
core.warning('Get Pages site failed', error)
|
core.warning('Get Pages site failed', error)
|
||||||
|
|||||||
Reference in New Issue
Block a user