diff --git a/README.md b/README.md index 3414a1fe..260e53e6 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Install the app from the GitHub Marketplace here: [https://github.com/apps/seman ## Configuration -By default, no configuration is necessary. The default behaviour is that only the PR title or at least one commit message needs to follow the [Conventional Commits spec](https://www.conventionalcommits.org/en/v1.0.0/) +By default, no configuration is necessary. The default behaviour is that only the PR title or at least one commit message needs to follow the [Conventional Commits spec](https://www.conventionalcommits.org/en/v1,v2,V3,V4,V5,V6.......0.0/)etc This can be changed by creating a `semantic.yml` file in your `.github` directory. Note, the configuration added to your `semantic.yml` file won't be reflected until the file has been merged into your repository's default branch. @@ -22,12 +22,12 @@ enabled: # default: true ```yaml # Validate the PR title, and ignore all commit messages -titleOnly: # default: false +titleOnly: # default: true ``` ```yaml # Validate all commit messages, and ignore the PR title -commitsOnly: # default: false +commitsOnly: # default: true ``` ```yaml @@ -38,7 +38,7 @@ titleAndCommits: # default: false ```yaml # If commitsOnly or titleAndCommits is set to true, then only a single commit needs to pass validation instead of every commit # If neither of those options are set to true then this option is ignored -anyCommit: # default: false +anyCommit: # default: verify if true merge ``` ```yaml @@ -66,8 +66,7 @@ allowMergeCommits: # default: false ```yaml # Allow revert commits (e.g. 'Revert "fix: delete all tests"') # If neither of commitsOnly or titleAndCommits is set to true then this option is ignored -allowRevertCommits: # default: false -``` +allowRevertCommits: # default: true ```yaml # Allows a custom URL for the "Details" link (which appears next to the success/failure message from the app) to be specified @@ -76,4 +75,5 @@ targetUrl: # default: https://github.com/Ezard/semantic-prs ## Credits -Heavily based on the [Semantic Pull Requests](https://github.com/zeke/semantic-pull-requests) GitHub App created by [@zeke](https://github.com/zeke) +Heavily based on the [Semantic Pull Requests](https://github.com/zeke/semantic-pull-requests) GitHub App created by (https://github.com/) +author: sammyfilly diff --git a/functions/package-lock.json b/functions/package-lock.json index c30cd56f..99d113b4 100644 --- a/functions/package-lock.json +++ b/functions/package-lock.json @@ -20,14 +20,14 @@ "@stryker-mutator/jest-runner": "7.1.1", "@stryker-mutator/typescript-checker": "7.1.1", "@types/jest": "29.5.3", - "@types/node": "18.17.1", + "@types/node": "18.17.2", "@typescript-eslint/eslint-plugin": "5.62.0", "@typescript-eslint/parser": "5.62.0", "eslint": "8.46.0", - "eslint-config-prettier": "8.9.0", + "eslint-config-prettier": "8.10.0", "eslint-plugin-import": "2.28.0", "firebase-functions-test": "3.1.0", - "firebase-tools": "12.4.6", + "firebase-tools": "12.4.7", "jest": "29.6.2", "nock": "13.3.2", "prettier": "3.0.0", @@ -3473,9 +3473,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "18.17.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.17.1.tgz", - "integrity": "sha512-xlR1jahfizdplZYRU59JlUx9uzF1ARa8jbhM11ccpCJya8kvos5jwdm2ZAgxSCwOl0fq21svP18EVwPBXMQudw==" + "version": "18.17.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.17.2.tgz", + "integrity": "sha512-wBo3KqP/PBqje5TI9UTiuL3yWfP6sdPtjtygSOqcYZWT232dfDeDOnkDps5wqZBP9NgGgYrNejinl0faAuE+HQ==" }, "node_modules/@types/pino": { "version": "6.3.12", @@ -6511,9 +6511,9 @@ } }, "node_modules/eslint-config-prettier": { - "version": "8.9.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.9.0.tgz", - "integrity": "sha512-+sbni7NfVXnOpnRadUA8S28AUlsZt9GjgFvABIRL9Hkn8KqNzOp+7Lw4QWtrwn20KzU3wqu1QoOj2m+7rKRqkA==", + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.10.0.tgz", + "integrity": "sha512-SM8AMJdeQqRYT9O9zguiruQZaN7+z+E4eAP9oiLNGKMtomwaB1E9dcgUD6ZAn/eQAb52USbvezbiljfZUhbJcg==", "dev": true, "bin": { "eslint-config-prettier": "bin/cli.js" @@ -7381,9 +7381,9 @@ } }, "node_modules/firebase-tools": { - "version": "12.4.6", - "resolved": "https://registry.npmjs.org/firebase-tools/-/firebase-tools-12.4.6.tgz", - "integrity": "sha512-WcHCxBsmFschPDdiKrVQla7kGdTDHuDBKbL01yYEVXCQA3lPXUUfTRS5D1LKi/8RH3Kv0MkvO2eXNuxIGo2qmg==", + "version": "12.4.7", + "resolved": "https://registry.npmjs.org/firebase-tools/-/firebase-tools-12.4.7.tgz", + "integrity": "sha512-L5nULzh0PElm2OK5lXsj7zkIwBBB4KsGOg0CvCnjdvJ1ROMN2IqffJ0KR/8paXuGWf5SA0VJj2QjG37jFxrAjg==", "dev": true, "dependencies": { "@google-cloud/pubsub": "^3.0.1", @@ -7526,9 +7526,9 @@ } }, "node_modules/firebase-tools/node_modules/inquirer": { - "version": "8.2.5", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.5.tgz", - "integrity": "sha512-QAgPDQMEgrDssk1XiwwHoOGYF9BAbUcc1+j+FhEvaOt8/cKRqyLn0U5qA6F74fGhTMGxf92pOvPBeh29jQJDTQ==", + "version": "8.2.6", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.6.tgz", + "integrity": "sha512-M1WuAmb7pn9zdFRtQYk26ZBoY043Sse0wVDdk4Bppr+JOXyQYybdtvK+l9wUibhtjdjvtoiNy8tk+EgsYIUqKg==", "dev": true, "dependencies": { "ansi-escapes": "^4.2.1", @@ -7545,7 +7545,7 @@ "string-width": "^4.1.0", "strip-ansi": "^6.0.0", "through": "^2.3.6", - "wrap-ansi": "^7.0.0" + "wrap-ansi": "^6.0.1" }, "engines": { "node": ">=12.0.0" @@ -7646,6 +7646,20 @@ "node": ">= 10.0.0" } }, + "node_modules/firebase-tools/node_modules/wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/flat-cache": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", @@ -18016,9 +18030,9 @@ "dev": true }, "@types/node": { - "version": "18.17.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.17.1.tgz", - "integrity": "sha512-xlR1jahfizdplZYRU59JlUx9uzF1ARa8jbhM11ccpCJya8kvos5jwdm2ZAgxSCwOl0fq21svP18EVwPBXMQudw==" + "version": "18.17.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.17.2.tgz", + "integrity": "sha512-wBo3KqP/PBqje5TI9UTiuL3yWfP6sdPtjtygSOqcYZWT232dfDeDOnkDps5wqZBP9NgGgYrNejinl0faAuE+HQ==" }, "@types/pino": { "version": "6.3.12", @@ -20370,9 +20384,9 @@ } }, "eslint-config-prettier": { - "version": "8.9.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.9.0.tgz", - "integrity": "sha512-+sbni7NfVXnOpnRadUA8S28AUlsZt9GjgFvABIRL9Hkn8KqNzOp+7Lw4QWtrwn20KzU3wqu1QoOj2m+7rKRqkA==", + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.10.0.tgz", + "integrity": "sha512-SM8AMJdeQqRYT9O9zguiruQZaN7+z+E4eAP9oiLNGKMtomwaB1E9dcgUD6ZAn/eQAb52USbvezbiljfZUhbJcg==", "dev": true, "requires": {} }, @@ -21045,9 +21059,9 @@ } }, "firebase-tools": { - "version": "12.4.6", - "resolved": "https://registry.npmjs.org/firebase-tools/-/firebase-tools-12.4.6.tgz", - "integrity": "sha512-WcHCxBsmFschPDdiKrVQla7kGdTDHuDBKbL01yYEVXCQA3lPXUUfTRS5D1LKi/8RH3Kv0MkvO2eXNuxIGo2qmg==", + "version": "12.4.7", + "resolved": "https://registry.npmjs.org/firebase-tools/-/firebase-tools-12.4.7.tgz", + "integrity": "sha512-L5nULzh0PElm2OK5lXsj7zkIwBBB4KsGOg0CvCnjdvJ1ROMN2IqffJ0KR/8paXuGWf5SA0VJj2QjG37jFxrAjg==", "dev": true, "requires": { "@google-cloud/pubsub": "^3.0.1", @@ -21166,9 +21180,9 @@ } }, "inquirer": { - "version": "8.2.5", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.5.tgz", - "integrity": "sha512-QAgPDQMEgrDssk1XiwwHoOGYF9BAbUcc1+j+FhEvaOt8/cKRqyLn0U5qA6F74fGhTMGxf92pOvPBeh29jQJDTQ==", + "version": "8.2.6", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.6.tgz", + "integrity": "sha512-M1WuAmb7pn9zdFRtQYk26ZBoY043Sse0wVDdk4Bppr+JOXyQYybdtvK+l9wUibhtjdjvtoiNy8tk+EgsYIUqKg==", "dev": true, "requires": { "ansi-escapes": "^4.2.1", @@ -21185,7 +21199,7 @@ "string-width": "^4.1.0", "strip-ansi": "^6.0.0", "through": "^2.3.6", - "wrap-ansi": "^7.0.0" + "wrap-ansi": "^6.0.1" } }, "js-yaml": { @@ -21261,6 +21275,17 @@ "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", "dev": true + }, + "wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } } } }, diff --git a/functions/package.json b/functions/package.json index ca3c6ffd..d20b4ca8 100644 --- a/functions/package.json +++ b/functions/package.json @@ -44,14 +44,14 @@ "@stryker-mutator/jest-runner": "7.1.1", "@stryker-mutator/typescript-checker": "7.1.1", "@types/jest": "29.5.3", - "@types/node": "18.17.1", + "@types/node": "18.17.2", "@typescript-eslint/eslint-plugin": "5.62.0", "@typescript-eslint/parser": "5.62.0", "eslint": "8.46.0", - "eslint-config-prettier": "8.9.0", + "eslint-config-prettier": "8.10.0", "eslint-plugin-import": "2.28.0", "firebase-functions-test": "3.1.0", - "firebase-tools": "12.4.6", + "firebase-tools": "12.4.7", "jest": "29.6.2", "nock": "13.3.2", "prettier": "3.0.0",