diff --git a/.github/workflows/cleanup-cache-automatic.yml b/.github/workflows/cleanup-cache-automatic.yml new file mode 100644 index 000000000..02ca9720b --- /dev/null +++ b/.github/workflows/cleanup-cache-automatic.yml @@ -0,0 +1,24 @@ +name: "Cache Cleanup - Automatic" +on: + pull_request: + types: + - closed +defaults: + run: + shell: bash + + +jobs: + + cache-purge: + name: "Purge Actions cache" + runs-on: ubuntu-latest + + steps: + + - name: "Delete Branch Cache Action" + uses: snnaplab/delete-branch-cache-action@v1.0.0 + with: + # Specify explicitly because the ref at the time of merging will be a branch name such as 'main', 'develop' + ref: refs/pull/${{ github.event.number }}/merge + github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/cleanup-cache.yml b/.github/workflows/cleanup-cache-manual.yml similarity index 92% rename from .github/workflows/cleanup-cache.yml rename to .github/workflows/cleanup-cache-manual.yml index 09697c190..9cd100e29 100644 --- a/.github/workflows/cleanup-cache.yml +++ b/.github/workflows/cleanup-cache-manual.yml @@ -1,4 +1,4 @@ -name: "Cleanup - Cache" +name: "Cache Cleanup - Manual" on: workflow_dispatch: inputs: diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 294fc0a9f..4d425bdeb 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -31,4 +31,4 @@ jobs: # to override config-conventional rules, specify a relative path to your rules module, actions/checkout is required for this setting! commitlintRulesPath: "./.github/linters/.commitlint.rules.js" # default: undefined # if the PR contains a single commit, fail if the commit message and the PR title do not match - commitTitleMatch: "false" # default: 'true' + commitTitleMatch: false # default: 'true' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2643d250a..4161aa468 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -128,17 +128,3 @@ jobs: labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha cache-to: type=gha,mode=min - - cache-purge: - name: "Purge branch Actions cache" - needs: [release-binary, release-docker] - runs-on: ubuntu-latest - - steps: - - - name: "Delete Branch Cache Action" - uses: snnaplab/delete-branch-cache-action@v1.0.0 - with: - # Specify explicitly because the ref at the time of merging will be a branch name such as 'main', 'develop' - ref: refs/pull/${{ github.event.number }}/merge - github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/package-lock.json b/package-lock.json index 72b9106ab..ff8e03a61 100644 --- a/package-lock.json +++ b/package-lock.json @@ -870,9 +870,9 @@ } }, "node_modules/decamelize-keys": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.0.tgz", - "integrity": "sha512-ocLWuYzRPoS9bfiSdDd3cxvrzovVMZnRDVEzAs+hWIVXGDbHxWMECij2OBuyB/An0FFW/nLuq6Kv1i/YC5Qfzg==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.1.tgz", + "integrity": "sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==", "dev": true, "dependencies": { "decamelize": "^1.1.0", @@ -880,6 +880,9 @@ }, "engines": { "node": ">=0.10.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/decamelize-keys/node_modules/map-obj": { @@ -1854,9 +1857,9 @@ } }, "node_modules/marked": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/marked/-/marked-4.1.1.tgz", - "integrity": "sha512-0cNMnTcUJPxbA6uWmCmjWz4NJRe/0Xfk2NhXCUHjew9qJzFN20krFnsUe7QynwqOwa5m1fZ4UDg0ycKFVC0ccw==", + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/marked/-/marked-4.2.2.tgz", + "integrity": "sha512-JjBTFTAvuTgANXx82a5vzK9JLSMoV6V3LBVn4Uhdso6t7vXrGx7g1Cd2r6NYSsxrYbQGFCMqBDhFHyK5q2UvcQ==", "dev": true, "bin": { "marked": "bin/marked.js" @@ -2099,9 +2102,9 @@ } }, "node_modules/npm": { - "version": "8.19.2", - "resolved": "https://registry.npmjs.org/npm/-/npm-8.19.2.tgz", - "integrity": "sha512-MWkISVv5f7iZbfNkry5/5YBqSYJEDAKSJdL+uzSQuyLg+hgLQUyZynu3SH6bOZlvR9ZvJYk2EiJO6B1r+ynwHg==", + "version": "8.19.3", + "resolved": "https://registry.npmjs.org/npm/-/npm-8.19.3.tgz", + "integrity": "sha512-0QjmyPtDxSyMWWD8I91QGbrgx9KzbV6C9FK1liEb/K0zppiZkr5KxXc990G+LzPwBHDfRjUBlO9T1qZ08vl9mA==", "bundleDependencies": [ "@isaacs/string-locale-compare", "@npmcli/arborist", @@ -2110,7 +2113,6 @@ "@npmcli/fs", "@npmcli/map-workspaces", "@npmcli/package-json", - "@npmcli/promise-spawn", "@npmcli/run-script", "abbrev", "archy", @@ -2181,13 +2183,12 @@ "dev": true, "dependencies": { "@isaacs/string-locale-compare": "^1.1.0", - "@npmcli/arborist": "^5.6.2", + "@npmcli/arborist": "^5.6.3", "@npmcli/ci-detect": "^2.0.0", "@npmcli/config": "^4.2.1", "@npmcli/fs": "^2.1.0", "@npmcli/map-workspaces": "^2.0.3", "@npmcli/package-json": "^2.0.0", - "@npmcli/promise-spawn": "*", "@npmcli/run-script": "^4.2.1", "abbrev": "~1.1.1", "archy": "~1.0.0", @@ -2198,18 +2199,18 @@ "cli-table3": "^0.6.2", "columnify": "^1.6.0", "fastest-levenshtein": "^1.0.12", - "fs-minipass": "*", + "fs-minipass": "^2.1.0", "glob": "^8.0.1", "graceful-fs": "^4.2.10", - "hosted-git-info": "^5.1.0", + "hosted-git-info": "^5.2.1", "ini": "^3.0.1", "init-package-json": "^3.0.2", "is-cidr": "^4.0.2", "json-parse-even-better-errors": "^2.3.1", "libnpmaccess": "^6.0.4", "libnpmdiff": "^4.0.5", - "libnpmexec": "^4.0.13", - "libnpmfund": "^3.0.4", + "libnpmexec": "^4.0.14", + "libnpmfund": "^3.0.5", "libnpmhook": "^8.0.4", "libnpmorg": "^4.0.4", "libnpmpack": "^4.1.3", @@ -2218,7 +2219,7 @@ "libnpmteam": "^4.0.4", "libnpmversion": "^3.0.7", "make-fetch-happen": "^10.2.0", - "minimatch": "*", + "minimatch": "^5.1.0", "minipass": "^3.1.6", "minipass-pipeline": "^1.2.4", "mkdirp": "^1.0.4", @@ -2260,7 +2261,7 @@ "npx": "bin/npx-cli.js" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16" + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" } }, "node_modules/npm-run-path": { @@ -2298,7 +2299,7 @@ "license": "ISC" }, "node_modules/npm/node_modules/@npmcli/arborist": { - "version": "5.6.2", + "version": "5.6.3", "dev": true, "inBundle": true, "license": "ISC", @@ -2316,6 +2317,7 @@ "bin-links": "^3.0.3", "cacache": "^16.1.3", "common-ancestor-path": "^1.0.1", + "hosted-git-info": "^5.2.1", "json-parse-even-better-errors": "^2.3.1", "json-stringify-nice": "^1.1.4", "minimatch": "^5.1.0", @@ -3127,7 +3129,7 @@ "license": "ISC" }, "node_modules/npm/node_modules/hosted-git-info": { - "version": "5.1.0", + "version": "5.2.1", "dev": true, "inBundle": true, "license": "ISC", @@ -3403,12 +3405,12 @@ } }, "node_modules/npm/node_modules/libnpmexec": { - "version": "4.0.13", + "version": "4.0.14", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/arborist": "^5.6.2", + "@npmcli/arborist": "^5.6.3", "@npmcli/ci-detect": "^2.0.0", "@npmcli/fs": "^2.1.1", "@npmcli/run-script": "^4.2.0", @@ -3428,12 +3430,12 @@ } }, "node_modules/npm/node_modules/libnpmfund": { - "version": "3.0.4", + "version": "3.0.5", "dev": true, "inBundle": true, "license": "ISC", "dependencies": { - "@npmcli/arborist": "^5.6.2" + "@npmcli/arborist": "^5.6.3" }, "engines": { "node": "^12.13.0 || ^14.15.0 || >=16.0.0" @@ -6638,9 +6640,9 @@ "dev": true }, "decamelize-keys": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.0.tgz", - "integrity": "sha512-ocLWuYzRPoS9bfiSdDd3cxvrzovVMZnRDVEzAs+hWIVXGDbHxWMECij2OBuyB/An0FFW/nLuq6Kv1i/YC5Qfzg==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.1.tgz", + "integrity": "sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==", "dev": true, "requires": { "decamelize": "^1.1.0", @@ -7385,9 +7387,9 @@ "dev": true }, "marked": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/marked/-/marked-4.1.1.tgz", - "integrity": "sha512-0cNMnTcUJPxbA6uWmCmjWz4NJRe/0Xfk2NhXCUHjew9qJzFN20krFnsUe7QynwqOwa5m1fZ4UDg0ycKFVC0ccw==", + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/marked/-/marked-4.2.2.tgz", + "integrity": "sha512-JjBTFTAvuTgANXx82a5vzK9JLSMoV6V3LBVn4Uhdso6t7vXrGx7g1Cd2r6NYSsxrYbQGFCMqBDhFHyK5q2UvcQ==", "dev": true }, "marked-terminal": { @@ -7558,19 +7560,18 @@ "dev": true }, "npm": { - "version": "8.19.2", - "resolved": "https://registry.npmjs.org/npm/-/npm-8.19.2.tgz", - "integrity": "sha512-MWkISVv5f7iZbfNkry5/5YBqSYJEDAKSJdL+uzSQuyLg+hgLQUyZynu3SH6bOZlvR9ZvJYk2EiJO6B1r+ynwHg==", + "version": "8.19.3", + "resolved": "https://registry.npmjs.org/npm/-/npm-8.19.3.tgz", + "integrity": "sha512-0QjmyPtDxSyMWWD8I91QGbrgx9KzbV6C9FK1liEb/K0zppiZkr5KxXc990G+LzPwBHDfRjUBlO9T1qZ08vl9mA==", "dev": true, "requires": { "@isaacs/string-locale-compare": "^1.1.0", - "@npmcli/arborist": "^5.6.2", + "@npmcli/arborist": "^5.6.3", "@npmcli/ci-detect": "^2.0.0", "@npmcli/config": "^4.2.1", "@npmcli/fs": "^2.1.0", "@npmcli/map-workspaces": "^2.0.3", "@npmcli/package-json": "^2.0.0", - "@npmcli/promise-spawn": "*", "@npmcli/run-script": "^4.2.1", "abbrev": "~1.1.1", "archy": "~1.0.0", @@ -7581,18 +7582,18 @@ "cli-table3": "^0.6.2", "columnify": "^1.6.0", "fastest-levenshtein": "^1.0.12", - "fs-minipass": "*", + "fs-minipass": "^2.1.0", "glob": "^8.0.1", "graceful-fs": "^4.2.10", - "hosted-git-info": "^5.1.0", + "hosted-git-info": "^5.2.1", "ini": "^3.0.1", "init-package-json": "^3.0.2", "is-cidr": "^4.0.2", "json-parse-even-better-errors": "^2.3.1", "libnpmaccess": "^6.0.4", "libnpmdiff": "^4.0.5", - "libnpmexec": "^4.0.13", - "libnpmfund": "^3.0.4", + "libnpmexec": "^4.0.14", + "libnpmfund": "^3.0.5", "libnpmhook": "^8.0.4", "libnpmorg": "^4.0.4", "libnpmpack": "^4.1.3", @@ -7601,7 +7602,7 @@ "libnpmteam": "^4.0.4", "libnpmversion": "^3.0.7", "make-fetch-happen": "^10.2.0", - "minimatch": "*", + "minimatch": "^5.1.0", "minipass": "^3.1.6", "minipass-pipeline": "^1.2.4", "mkdirp": "^1.0.4", @@ -7656,7 +7657,7 @@ "dev": true }, "@npmcli/arborist": { - "version": "5.6.2", + "version": "5.6.3", "bundled": true, "dev": true, "requires": { @@ -7673,6 +7674,7 @@ "bin-links": "^3.0.3", "cacache": "^16.1.3", "common-ancestor-path": "^1.0.1", + "hosted-git-info": "^5.2.1", "json-parse-even-better-errors": "^2.3.1", "json-stringify-nice": "^1.1.4", "minimatch": "^5.1.0", @@ -8249,7 +8251,7 @@ "dev": true }, "hosted-git-info": { - "version": "5.1.0", + "version": "5.2.1", "bundled": true, "dev": true, "requires": { @@ -8446,11 +8448,11 @@ } }, "libnpmexec": { - "version": "4.0.13", + "version": "4.0.14", "bundled": true, "dev": true, "requires": { - "@npmcli/arborist": "^5.6.2", + "@npmcli/arborist": "^5.6.3", "@npmcli/ci-detect": "^2.0.0", "@npmcli/fs": "^2.1.1", "@npmcli/run-script": "^4.2.0", @@ -8467,11 +8469,11 @@ } }, "libnpmfund": { - "version": "3.0.4", + "version": "3.0.5", "bundled": true, "dev": true, "requires": { - "@npmcli/arborist": "^5.6.2" + "@npmcli/arborist": "^5.6.3" } }, "libnpmhook": {