Merge branch 'main' into v4-general-refactoring

This commit is contained in:
Nikolai Laevskii
2023-08-02 06:25:30 +02:00
5 changed files with 1895 additions and 1502 deletions

View File

@@ -169,7 +169,6 @@ jobs:
permissions: permissions:
contents: read contents: read
pull-requests: write pull-requests: write
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@@ -202,10 +201,10 @@ on:
jobs: jobs:
triage: triage:
runs-on: ubuntu-latest
permissions: permissions:
contents: read contents: read
pull-requests: write pull-requests: write
runs-on: ubuntu-latest
steps: steps:
- id: label-the-PR - id: label-the-PR
uses: actions/labeler@v4 uses: actions/labeler@v4

2598
dist/index.js vendored

File diff suppressed because it is too large Load Diff

782
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -35,15 +35,15 @@
"@types/js-yaml": "^4.0.5", "@types/js-yaml": "^4.0.5",
"@types/minimatch": "^5.1.2", "@types/minimatch": "^5.1.2",
"@types/node": "^16.11.7", "@types/node": "^16.11.7",
"@typescript-eslint/eslint-plugin": "^5.61.0", "@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^5.62.0", "@typescript-eslint/parser": "^6.1.0",
"@vercel/ncc": "^0.36.1", "@vercel/ncc": "^0.36.1",
"eslint": "^8.45.0", "eslint": "^8.46.0",
"eslint-config-prettier": "^8.8.0", "eslint-config-prettier": "^8.9.0",
"eslint-plugin-jest": "^27.2.3", "eslint-plugin-jest": "^27.2.3",
"eslint-plugin-node": "^11.1.0", "eslint-plugin-node": "^11.1.0",
"jest": "^27.5.1", "jest": "^27.5.1",
"prettier": "^2.8.8", "prettier": "^3.0.0",
"ts-jest": "^27.1.3", "ts-jest": "^27.1.3",
"typescript": "^4.9.5" "typescript": "^4.9.5"
} }

View File

@@ -19,14 +19,14 @@ export const getLabelGlobs = (
.then(() => { .then(() => {
if (!fs.existsSync(configurationPath)) { if (!fs.existsSync(configurationPath)) {
core.info( core.info(
`The configuration file (path: ${configurationPath}) isn't not found locally, fetching via the api` `The configuration file (path: ${configurationPath}) was not found locally, fetching via the api`
); );
return getContent(client, configurationPath); return getContent(client, configurationPath);
} }
core.info( core.info(
`The configuration file (path: ${configurationPath}) is found locally, reading from the file` `The configuration file (path: ${configurationPath}) was found locally, reading from the file`
); );
return fs.readFileSync(configurationPath, { return fs.readFileSync(configurationPath, {