From f3b9cec249cabffbae7cd564542fd302cc576827 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20F=C3=A4rnstrand?= Date: Wed, 27 Mar 2024 14:08:59 +0100 Subject: [PATCH] Release 3.1.1 (#133) In this release, we add a substantially more verbs. * Add "restart" and "coalesce" as allowed verbs #130 * Add more verbs scraped from another repository #131 --- README.md | 14 +- dist/index.js | 425 +++++++++++++++++++++++++++++++++++--------------- package.json | 2 +- 3 files changed, 311 insertions(+), 130 deletions(-) diff --git a/README.md b/README.md index 65022ed..cb12ad9 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check - uses: mristin/opinionated-commit-message@v3.1.0 + uses: mristin/opinionated-commit-message@v3.1.1 ``` ## Checked Events @@ -99,7 +99,7 @@ string in the workflow file. For example: ```yaml steps: - name: Check - uses: mristin/opinionated-commit-message@v3.1.0 + uses: mristin/opinionated-commit-message@v3.1.1 with: additional-verbs: 'chrusimusi, unit-test' ``` @@ -111,7 +111,7 @@ as input: ```yaml steps: - name: Check - uses: mristin/opinionated-commit-message@v3.1.0 + uses: mristin/opinionated-commit-message@v3.1.1 with: path-to-additional-verbs: 'src/additional-verbs.txt' ``` @@ -153,7 +153,7 @@ You can allow one-liner commit messages by setting the flag `allow-one-liners`: ```yaml steps: - name: Check - uses: mristin/opinionated-commit-message@v3.1.0 + uses: mristin/opinionated-commit-message@v3.1.1 with: allow-one-liners: 'true' ``` @@ -225,7 +225,7 @@ for pull requests you can either: ```yaml steps: - name: Check - uses: mristin/opinionated-commit-message@v3.1.0 + uses: mristin/opinionated-commit-message@v3.1.1 with: validate-pull-request-commits: 'true' # Required for private repos @@ -246,7 +246,7 @@ jobs: # Make sure this you also have this line contents: read steps: - - uses: mristin/opinionated-commit-message@v3.1.0 + - uses: mristin/opinionated-commit-message@v3.1.1 with: validate-pull-request-commits: 'true' github-token: ${{ secrets.GITHUB_TOKEN }} @@ -265,7 +265,7 @@ We provide an `enforce-sign-off` flag so that you can enforce the sign-off in th ```yaml steps: - name: Check - uses: mristin/opinionated-commit-message@v3.1.0 + uses: mristin/opinionated-commit-message@v3.1.1 with: enforce-sign-off: 'true' ``` diff --git a/dist/index.js b/dist/index.js index a0424b5..09c506c 100644 --- a/dist/index.js +++ b/dist/index.js @@ -29642,22 +29642,29 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.SET = void 0; exports.SET = new Set([ 'abandon', + 'abort', + 'abstract', 'accept', + 'accomodate', 'accompany', 'account', + 'accumulate', 'accuse', 'ache', 'achieve', 'acknowledge', 'acquire', 'act', + 'activate', 'active', + 'adapt', 'add', 'address', 'adhere', 'adjust', 'admit', 'adopt', + 'advance', 'advise', 'advocate', 'affect', @@ -29665,16 +29672,20 @@ exports.SET = new Set([ 'afford', 'agree', 'aim', + 'align', 'allow', 'alter', 'analyse', 'analyze', + 'anchor', + 'annotate', 'announce', 'annoy', 'annul', 'answer', 'appeal', 'appear', + 'append', 'applicate', 'apply', 'appoint', @@ -29689,6 +29700,7 @@ exports.SET = new Set([ 'ask', 'assert', 'assess', + 'assign', 'assist', 'associate', 'assume', @@ -29698,9 +29710,11 @@ exports.SET = new Set([ 'attempt', 'attend', 'attract', + 'augment', 'avoid', 'awake', 'back', + 'backport', 'backup', 'bake', 'base', @@ -29718,27 +29732,43 @@ exports.SET = new Set([ 'better', 'beware', 'bind', + 'blacklist', 'blame', 'blend', + 'block', 'blow', + 'blur', + 'bootstrap', 'born', + 'borrow', 'bother', 'break', + 'bridge', 'bring', + 'broadcast', + 'buffer', 'build', 'bump', + 'bundle', 'burn', 'busy', 'buy', + 'bypass', + 'cache', 'calculate', 'call', + 'cancel', + 'capitalize', 'capture', 'care', 'carry', 'carryout', 'cast', 'catch', + 'categorize', 'cause', + 'center', + 'centralize', 'challenge', 'change', 'chant', @@ -29749,12 +29779,15 @@ exports.SET = new Set([ 'choose', 'circle', 'claim', + 'clarify', 'clean', 'cleanse', 'clear', 'climb', + 'clip', 'close', 'clothe', + 'coalesce', 'collapse', 'collect', 'combine', @@ -29766,20 +29799,24 @@ exports.SET = new Set([ 'compensate', 'compile', 'complain', + 'complement', 'complete', 'compose', 'compress', + 'compute', 'conceal', 'concentrate', 'conclude', 'concur', 'conduct', + 'configure', 'confirm', 'confront', 'connect', 'connote', 'consider', 'consist', + 'consolidate', 'constitute', 'construct', 'consume', @@ -29792,7 +29829,10 @@ exports.SET = new Set([ 'convert', 'convey', 'cook', + 'coordinate', 'cope', + 'copy', + 'correct', 'cost', 'counsel', 'count', @@ -29801,16 +29841,28 @@ exports.SET = new Set([ 'cross', 'cry', 'cut', + 'cycle', 'damage', 'dance', 'deal', 'debate', 'decide', 'declare', + 'decode', + 'deconstruct', + 'decouple', + 'decrease', + 'dedup', + 'de-duplicate', + 'deduplicate', + 'default', 'defeat', 'defend', + 'defer', 'define', 'delay', + 'delegate', + 'delete', 'deliver', 'demand', 'demolish', @@ -29819,8 +29871,10 @@ exports.SET = new Set([ 'depart', 'depend', 'depict', + 'deprecate', 'derive', 'describe', + 'deserialize', 'design', 'desire', 'destroy', @@ -29830,47 +29884,69 @@ exports.SET = new Set([ 'develop', 'devote', 'die', + 'dim', 'direct', + 'disable', + 'disallow', 'disappear', + 'disconnect', 'discontinue', 'discourage', 'discover', 'discuss', 'dislike', 'dismiss', + 'dispatch', 'displace', 'display', 'distinguish', 'divide', 'do', + 'document', 'dominate', + 'downgrade', + 'download', 'draw', 'dread', 'dress', 'drink', 'drive', 'drop', + 'dry', + 'dump', + 'duplicate', 'earn', 'eat', + 'echo', + 'edit', 'educate', + 'elaborate', 'elect', 'elevate', + 'eliminate', + 'embed', 'emerge', + 'emit', 'employ', + 'empty', 'enable', + 'encapsulate', 'encourage', 'end', 'endorse', 'endure', 'enforce', 'engage', + 'enhance', 'enjoy', 'enquire', 'enroll', 'ensure', 'enter', + 'enumerate', 'equal', 'equate', + 'erase', 'escape', 'establish', 'estimate', @@ -29880,48 +29956,67 @@ exports.SET = new Set([ 'exclude', 'excuse', 'execute', + 'exempt', 'exercise', 'exert', 'exist', + 'exit', 'expand', 'expect', 'experience', 'explain', 'explore', + 'export', 'expose', 'express', 'extend', + 'extract', 'face', + 'factor', 'fail', 'fall', 'fault', + 'favor', 'fear', 'feature', 'feed', 'feel', + 'fetch', 'fight', 'fill', + 'filter', 'find', 'finish', 'fit', 'fix', + 'flatten', 'flee', + 'flip', 'float', + 'flow', 'flunk', + 'flush', 'fly', 'focus', + 'fold', 'follow', 'force', 'foresee', 'forget', + 'fork', 'form', + 'formalize', + 'format', 'forward', 'found', 'free', + 'freeze', 'gain', 'gather', + 'generalize', 'generate', 'get', + 'gitignore', 'give', 'giveup', 'glance', @@ -29930,13 +30025,18 @@ exports.SET = new Set([ 'govern', 'grant', 'grin', + 'group', 'grow', + 'guard', 'guess', 'guide', + 'hack', + 'halt', 'hand', 'handle', 'hang', 'happen', + 'hardcode', 'harm', 'hate', 'have', @@ -29944,9 +30044,12 @@ exports.SET = new Set([ 'hear', 'help', 'hide', + 'highlight', + 'hint', 'hire', 'hit', 'hold', + 'hook', 'hope', 'house', 'hurt', @@ -29955,8 +30058,10 @@ exports.SET = new Set([ 'illuminate', 'illustrate', 'imagine', + 'impersonate', 'implement', 'imply', + 'import', 'importune', 'impose', 'improve', @@ -29964,19 +30069,36 @@ exports.SET = new Set([ 'incorporate', 'increase', 'incur', + 'indent', 'indicate', + 'infer', 'influence', 'inform', + 'inherit', + 'init', + 'initialize', 'initiate', 'injure', + 'in-line', + 'inline', 'insist', + 'install', + 'instantiate', + 'instruct', + 'integrate', 'intend', + 'intercept', + 'internalize', 'interpret', 'introduce', + 'invalidate', + 'invert', 'invest', 'investigate', 'invite', + 'invoke', 'involve', + 'isolate', 'issue', 'join', 'journey', @@ -30013,34 +30135,56 @@ exports.SET = new Set([ 'list', 'listen', 'live', + 'load', + 'localize', 'locate', 'lock', + 'log', + 'login', 'look', + 'loop', 'lose', 'love', + 'lower', 'maintain', 'make', 'manage', + 'map', 'mark', 'marry', 'match', + 'materialize', 'matter', 'mean', 'measure', 'meet', + 'memoize', 'menace', 'mention', + 'merge', + 'migrate', 'mind', + 'mirror', 'misinform', 'miss', 'mix', + 'mock', + 'modernize', + 'modify', + 'monitor', + 'monomorphize', 'move', + 'mutate', 'name', + 'navigate', 'near', 'need', 'nod', + 'normalize', + 'notarize', 'note', 'notice', + 'notify', 'observe', 'obtain', 'occupy', @@ -30050,29 +30194,50 @@ exports.SET = new Set([ 'omit', 'open', 'operate', + 'optimise', + 'optimize', 'order', 'organise', 'organize', + 'output', + 'overhaul', + 'override', + 'overwrite', 'owe', 'own', + 'pack', + 'package', 'paint', + 'panic', + 'parameterize', + 'parse', 'partake', 'pass', + 'patch', + 'pause', 'pay', 'perform', 'permit', + 'persist', 'persuade', 'pick', + 'pin', + 'ping', + 'pipe', 'place', 'plan', 'play', 'plow', 'point', 'ponder', + 'populate', + 'port', + 'position', 'possess', 'pour', 'predict', 'prefer', + 'prefix', 'prepare', 'present', 'preserve', @@ -30080,101 +30245,180 @@ exports.SET = new Set([ 'presume', 'prevent', 'print', + 'prioritize', + 'privatize', 'proceed', 'process', 'procure', 'produce', + 'prolong', 'promise', 'promote', + 'propagate', 'propose', 'prosecute', 'protect', 'protest', 'prove', 'provide', + 'prune', 'publish', 'pull', 'purchase', + 'purge', 'pursue', 'push', 'put', 'puton', + 'qualify', + 'query', 'question', + 'queue', + 'quit', 'quote', 'race', 'raise', + 'randomize', 'reach', + 'react', 'read', 'realise', 'realize', + 'reapply', + 'rearrange', 'reason', + 'rebuild', 'recall', 'receive', 'reckon', 'recognise', 'recognize', 'recommend', + 'reconnect', 'record', 'recover', 'recur', + 'redact', + 're-define', + 'redefine', + 're-design', + 'redesign', + 'redirect', + 're-do', + 'redo', 'reduce', + 're-enable', + 'refactor', 'refer', 'reference', + 'refine', 'reflect', + 'reformat', + 'refresh', 'refuse', 'regard', + 'regenerate', 'register', + 'reimplement', + 're-instate', + 'reinstate', 'reject', 'relate', + 'relax', 'release', + 'reload', 'rely', 'remain', 'remember', 'remind', 'remove', + 'rename', + 'render', + 're-order', + 'reorder', + 'reorganise', + 'reorganize', 'repair', + 'reparent', 'repeat', 'repel', + 'rephrase', 'replace', 'reply', 'report', + 'reposition', 'represent', 'request', 'require', + 'rerender', + 'rerun', + 're-scale', + 'rescale', 'research', + 're-set', + 'reset', 'reside', + 'resize', 'resolve', + 'respect', 'respond', 'rest', + 'restart', 'restore', 'restrict', + 'restructure', 'result', + 'resume', + 'resurface', 'retain', 'retire', 'retreat', + 'retrieve', + 'retry', 'return', + 'reuse', + 'revamp', 'reveal', + 'reverse', + 'revert', 'review', + 'revise', + 'revisit', + 'revoke', + 'reword', + 're-wrap', + 'rewrap', + 'rewrite', 'ride', 'ring', 'rise', 'roll', + 'rotate', + 'round', + 'route', 'rule', 'run', 'sale', 'salute', + 'sample', + 'sanitize', 'save', 'say', + 'scale', + 'scope', 'score', + 'scroll', 'search', 'secure', 'see', 'seek', 'seem', 'select', + 'self-initialize', 'sell', 'send', 'separate', + 'serialize', 'serve', 'set', 'settle', @@ -30183,13 +30427,21 @@ exports.SET = new Set([ 'share', 'shift', 'shoot', + 'shorten', 'shout', 'show', + 'shrink', + 'shuffle', 'shut', 'sign', 'signify', + 'silence', + 'simplify', + 'simulate', 'sing', 'sit', + 'size', + 'skip', 'sleep', 'slide', 'slip', @@ -30197,12 +30449,15 @@ exports.SET = new Set([ 'solve', 'sort', 'sound', + 'source', + 'spawn', 'speak', 'specify', 'spend', 'split', 'spread', 'stand', + 'standardize', 'stare', 'start', 'state', @@ -30212,12 +30467,20 @@ exports.SET = new Set([ 'step', 'stick', 'stop', + 'store', 'stress', 'stretch', 'strike', + 'stringify', + 'strip', 'struggle', + 'stub', 'study', + 'style', + 'subclass', 'submit', + 'substitute', + 'subtract', 'succeed', 'suffer', 'suggest', @@ -30225,11 +30488,18 @@ exports.SET = new Set([ 'supply', 'support', 'suppose', + 'suppress', 'surround', 'survive', 'suspect', + 'swallow', + 'swap', 'sway', 'switch', + 'sync', + 'synchronise', + 'synchronize', + 'synthesize', 'take', 'talk', 'talkover', @@ -30246,32 +30516,61 @@ exports.SET = new Set([ 'threaten', 'throw', 'tie', + 'time', + 'toggle', 'touch', 'track', 'trade', 'train', 'transfer', 'transform', + 'translate', + 'transpile', + 'trash', 'travel', 'tread', 'treat', + 'trigger', 'trim', + 'truncate', 'trust', 'try', + 'tune', 'turn', + 'tweak', 'twist', + 'unblock', + 'uncomment', 'uncover', 'understand', 'undertake', + 'undo', + 'undry', + 'unescape', 'unfold', + 'unify', + 'unignore', 'unite', 'unload', + 'unlock', + 'unpack', + 'unregister', + 'unskip', + 'unsubscribe', + 'untrack', + 'unwrap', + 'update', + 'upgrade', + 'upload', 'urge', 'use', 'utter', + 'validate', 'value', 'vanish', 'vary', + 'verbosify', + 'verify', 'view', 'visit', 'vocalize', @@ -30289,136 +30588,18 @@ exports.SET = new Set([ 'weep', 'weigh', 'welcome', + 'whitelist', 'win', + 'wipe', + 'wire', 'wish', 'withdraw', 'wonder', 'work', 'workout', 'worry', - 'write', - // Verbs specific to programming - 'align', - 'assign', - 'augment', - 'blacklist', - 'cache', - 'categorize', - 'clarify', - 'configure', - 'consolidate', - 'correct', - 'de-duplicate', - 'deconstruct', - 'deduplicate', - 'default', - 'delete', - 'disable', - 'dispatch', - 'document', - 'downgrade', - 'dry', - 'duplicate', - 'echo', - 'edit', - 'enhance', - 'enumerate', - 'erase', - 'export', - 'extract', - 'favor', - 'flatten', - 'fork', - 'format', - 'gitignore', - 'group', - 'guard', - 'hint', - 'import', - 'in-line', - 'initialize', - 'inline', - 'install', - 'instruct', - 'integrate', - 'intercept', - 'internalize', - 'invalidate', - 'isolate', - 'log', - 'map', - 'materialize', - 'merge', - 'mutate', - 'optimise', - 'optimize', - 'override', - 'pack', - 'package', - 'parse', - 'patch', - 'pin', - 'privatize', - 'qualify', - 'randomize', - 're-define', - 're-design', - 're-do', - 're-enable', - 're-instate', - 're-order', - 're-scale', - 're-set', - 're-wrap', - 'redefine', - 'redesign', - 'redirect', - 'redo', - 'refactor', - 'refine', - 'reformat', - 'refresh', - 'reinstate', - 'relax', - 'rename', - 'reorder', - 'reorganise', - 'reorganize', - 'rephrase', - 'rescale', - 'reset', - 'restructure', - 'revert', - 'revise', - 'revisit', - 'reword', - 'rewrap', - 'rewrite', - 'sample', - 'scale', - 'self-initialize', - 'simplify', - 'skip', - 'standardize', - 'suppress', - 'sync', - 'synchronise', - 'synchronize', - 'translate', - 'tune', - 'tweak', - 'undo', - 'undry', - 'unify', - 'unpack', - 'unskip', - 'untrack', - 'unwrap', - 'update', - 'upgrade', - 'verbosify', - 'whitelist', 'wrap', + 'write', ]); diff --git a/package.json b/package.json index 06cca6c..85c55ac 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mristin/opinionated-commit-message", - "version": "3.1.0", + "version": "3.1.1", "description": "GitHub Action to check commit messages according to an opinionated style", "keywords": [ "github",