From 3e89644de0162415f24aa3377e0d70017fdcfac9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 1 May 2024 12:55:34 +0000 Subject: [PATCH] Renovate: paddyroddy/.github (minor) (#44) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [paddyroddy/.github](https://togithub.com/paddyroddy/.github) | repository | minor | `v0.157.0` -> `v0.166.0` | | [paddyroddy/.github](https://togithub.com/paddyroddy/.github) | action | digest | `be31e8f` -> `9e9190a` | Note: The `pre-commit` manager in Renovate is not supported by the `pre-commit` maintainers or community. Please do not report any problems there, instead [create a Discussion in the Renovate repository](https://togithub.com/renovatebot/renovate/discussions/new) if you have any questions. --- ### Release Notes
paddyroddy/.github (paddyroddy/.github) ### [`v0.166.0`](https://togithub.com/paddyroddy/.github/compare/v0.165.0...v0.166.0) [Compare Source](https://togithub.com/paddyroddy/.github/compare/v0.165.0...v0.166.0) ### [`v0.165.0`](https://togithub.com/paddyroddy/.github/compare/v0.164.0...v0.165.0) [Compare Source](https://togithub.com/paddyroddy/.github/compare/v0.164.0...v0.165.0) ### [`v0.164.0`](https://togithub.com/paddyroddy/.github/compare/v0.163.0...v0.164.0) [Compare Source](https://togithub.com/paddyroddy/.github/compare/v0.163.0...v0.164.0) ### [`v0.163.0`](https://togithub.com/paddyroddy/.github/compare/v0.162.0...v0.163.0) [Compare Source](https://togithub.com/paddyroddy/.github/compare/v0.162.0...v0.163.0) ### [`v0.162.0`](https://togithub.com/paddyroddy/.github/compare/v0.161.0...v0.162.0) [Compare Source](https://togithub.com/paddyroddy/.github/compare/v0.161.0...v0.162.0) ### [`v0.161.0`](https://togithub.com/paddyroddy/.github/compare/v0.160.0...v0.161.0) [Compare Source](https://togithub.com/paddyroddy/.github/compare/v0.160.0...v0.161.0) ### [`v0.160.0`](https://togithub.com/paddyroddy/.github/compare/v0.159.0...v0.160.0) [Compare Source](https://togithub.com/paddyroddy/.github/compare/v0.159.0...v0.160.0) ### [`v0.159.0`](https://togithub.com/paddyroddy/.github/compare/v0.158.0...v0.159.0) [Compare Source](https://togithub.com/paddyroddy/.github/compare/v0.158.0...v0.159.0) ### [`v0.158.0`](https://togithub.com/paddyroddy/.github/compare/v0.157.0...v0.158.0) [Compare Source](https://togithub.com/paddyroddy/.github/compare/v0.157.0...v0.158.0)
--- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - "every weekday" (UTC). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/paddyroddy/latex-template). --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Patrick J. Roddy --- .github/styles/18F/Brands.yml | 3 ++- .github/styles/18F/Clarity.yml | 18 +++++++++++++----- .github/styles/Google/DateFormat.yml | 4 +++- .github/styles/Google/Ranges.yml | 3 ++- .github/styles/Microsoft/Accessibility.yml | 3 ++- .github/styles/Microsoft/DateFormat.yml | 4 +++- .github/styles/Microsoft/Ranges.yml | 3 ++- .github/styles/Microsoft/Terms.yml | 3 ++- .../styles/PlainLanguage/SentenceLength.yml | 4 +++- .github/styles/The-Economist/Didactic.yml | 4 +++- .github/styles/The-Economist/HorribleWords.yml | 4 +++- .github/styles/The-Economist/OughtShould.yml | 3 ++- .github/styles/The-Economist/OverusedWords.yml | 4 +++- .github/styles/The-Economist/Slang.yml | 4 +++- .../The-Economist/UnexpandedAcronyms.yml | 4 +++- .github/styles/proselint/Uncomparables.yml | 3 ++- .github/workflows/deploy.yaml | 8 ++++---- .github/workflows/licence.yaml | 2 +- .github/workflows/linting.yaml | 2 +- .pre-commit-config.yaml | 2 +- README.md | 6 +++--- 21 files changed, 61 insertions(+), 30 deletions(-) diff --git a/.github/styles/18F/Brands.yml b/.github/styles/18F/Brands.yml index dd44bad..dcba2af 100644 --- a/.github/styles/18F/Brands.yml +++ b/.github/styles/18F/Brands.yml @@ -1,7 +1,8 @@ --- extends: substitution message: Use '%s' instead of '%s.' -description: "Avoid using a trademark unless you’re referring to a specific product." +description: + "Avoid using a trademark unless you’re referring to a specific product." level: error ignorecase: true swap: diff --git a/.github/styles/18F/Clarity.yml b/.github/styles/18F/Clarity.yml index ab0ccb6..a42353c 100644 --- a/.github/styles/18F/Clarity.yml +++ b/.github/styles/18F/Clarity.yml @@ -4,10 +4,13 @@ message: "%s" level: error ignorecase: true swap: - (?:commit|pledge): "Be more specific — we’re either doing something or we’re not." + (?:commit|pledge): + "Be more specific — we’re either doing something or we’re not." advancing: "Avoid using 'advancing.'" agenda: "Avoid using 'agenda' (unless you’re talking about a meeting)." - deploy: "Avoid using 'deploy' (unless you’re talking about the military or software)." + deploy: + "Avoid using 'deploy' (unless you’re talking about the military or + software)." disincentivize: "Avoid using 'disincentivize.'" empower: "Avoid using 'empower.'" focusing: "Avoid using 'focusing.'" @@ -16,11 +19,16 @@ swap: incentivize: "Avoid using 'incentivize.'" innovative: "Use words that describe the positive outcome of the innovation." key: "Avoid using 'key' (unless it unlocks something)." - leverage: "Avoid using 'leverage' (unless you're using it in the financial sense)." + leverage: + "Avoid using 'leverage' (unless you're using it in the financial sense)." progress: "What are you actually doing?" promote: "Avoid using 'promote' (unless you’re talking about an ad campaign)." streamline: "Avoid using 'streamline.'" - strengthening: "Avoid using 'strengthening' (unless you’re referring to bridges or other structures)." - tackling: "Avoid using 'tackling' (unless you’re referring to football or another contact sport)." + strengthening: + "Avoid using 'strengthening' (unless you’re referring to bridges or other + structures)." + tackling: + "Avoid using 'tackling' (unless you’re referring to football or another + contact sport)." touchpoint: "Mention specific system components." transforming: "What are you actually doing to change it?" diff --git a/.github/styles/Google/DateFormat.yml b/.github/styles/Google/DateFormat.yml index 168aa4c..807909c 100644 --- a/.github/styles/Google/DateFormat.yml +++ b/.github/styles/Google/DateFormat.yml @@ -6,4 +6,6 @@ level: error nonword: true tokens: - '\d{1,2}(?:\.|/)\d{1,2}(?:\.|/)\d{4}' - - '\d{1,2} (?:Jan(?:uary)?|Feb(?:ruary)?|Mar(?:ch)?|Apr(?:il)|May|Jun(?:e)|Jul(?:y)|Aug(?:ust)|Sep(?:tember)?|Oct(?:ober)|Nov(?:ember)?|Dec(?:ember)?) \d{4}' + - '\d{1,2} + (?:Jan(?:uary)?|Feb(?:ruary)?|Mar(?:ch)?|Apr(?:il)|May|Jun(?:e)|Jul(?:y)|Aug(?:ust)|Sep(?:tember)?|Oct(?:ober)|Nov(?:ember)?|Dec(?:ember)?) + \d{4}' diff --git a/.github/styles/Google/Ranges.yml b/.github/styles/Google/Ranges.yml index afd62ec..6bfa2ce 100644 --- a/.github/styles/Google/Ranges.yml +++ b/.github/styles/Google/Ranges.yml @@ -1,5 +1,6 @@ extends: existence -message: "Don't add words such as 'from' or 'between' to describe a range of numbers." +message: + "Don't add words such as 'from' or 'between' to describe a range of numbers." link: "https://developers.google.com/style/hyphens" nonword: true level: error diff --git a/.github/styles/Microsoft/Accessibility.yml b/.github/styles/Microsoft/Accessibility.yml index e975318..e18eb0b 100644 --- a/.github/styles/Microsoft/Accessibility.yml +++ b/.github/styles/Microsoft/Accessibility.yml @@ -1,5 +1,6 @@ extends: existence -message: "Don't use language (such as '%s') that defines people by their disability." +message: + "Don't use language (such as '%s') that defines people by their disability." link: https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/term-collections/accessibility-terms level: error ignorecase: true diff --git a/.github/styles/Microsoft/DateFormat.yml b/.github/styles/Microsoft/DateFormat.yml index 1965313..a472eea 100644 --- a/.github/styles/Microsoft/DateFormat.yml +++ b/.github/styles/Microsoft/DateFormat.yml @@ -5,4 +5,6 @@ ignorecase: true level: error nonword: true tokens: - - '\d{1,2} (?:Jan(?:uary)?|Feb(?:ruary)?|Mar(?:ch)?|Apr(?:il)|May|Jun(?:e)|Jul(?:y)|Aug(?:ust)|Sep(?:tember)?|Oct(?:ober)|Nov(?:ember)?|Dec(?:ember)?) \d{4}' + - '\d{1,2} + (?:Jan(?:uary)?|Feb(?:ruary)?|Mar(?:ch)?|Apr(?:il)|May|Jun(?:e)|Jul(?:y)|Aug(?:ust)|Sep(?:tember)?|Oct(?:ober)|Nov(?:ember)?|Dec(?:ember)?) + \d{4}' diff --git a/.github/styles/Microsoft/Ranges.yml b/.github/styles/Microsoft/Ranges.yml index 82b60cc..b7adfdd 100644 --- a/.github/styles/Microsoft/Ranges.yml +++ b/.github/styles/Microsoft/Ranges.yml @@ -1,5 +1,6 @@ extends: existence -message: "In most cases, use 'from' or 'through' to describe a range of numbers." +message: + "In most cases, use 'from' or 'through' to describe a range of numbers." link: "https://docs.microsoft.com/en-us/style-guide/numbers" nonword: true level: error diff --git a/.github/styles/Microsoft/Terms.yml b/.github/styles/Microsoft/Terms.yml index d3ae682..9d70dd1 100644 --- a/.github/styles/Microsoft/Terms.yml +++ b/.github/styles/Microsoft/Terms.yml @@ -5,7 +5,8 @@ ignorecase: true action: name: replace swap: - "(?:agent|virtual assistant|intelligent personal assistant)": personal digital assistant + "(?:agent|virtual assistant|intelligent personal assistant)": + personal digital assistant "(?:drive C:|drive C>|C: drive)": drive C "(?:internet bot|web robot)s?": bot(s) "(?:microsoft cloud|the cloud)": cloud diff --git a/.github/styles/PlainLanguage/SentenceLength.yml b/.github/styles/PlainLanguage/SentenceLength.yml index b2315d0..d0095e7 100644 --- a/.github/styles/PlainLanguage/SentenceLength.yml +++ b/.github/styles/PlainLanguage/SentenceLength.yml @@ -1,7 +1,9 @@ --- extends: occurrence message: "Keep sentences short and to the point" -description: "A good rule-of-thumb is to break up any sentence longer than 21 words into two or more separate thoughts." +description: + "A good rule-of-thumb is to break up any sentence longer than 21 words into + two or more separate thoughts." scope: sentence level: error max: 21 diff --git a/.github/styles/The-Economist/Didactic.yml b/.github/styles/The-Economist/Didactic.yml index 803646b..d9fe138 100644 --- a/.github/styles/The-Economist/Didactic.yml +++ b/.github/styles/The-Economist/Didactic.yml @@ -1,7 +1,9 @@ --- extends: existence message: "'%s' - Do not be too didactic" -description: "If too many sentences begin with '%s,' readers will think they are reading a textbook." +description: + "If too many sentences begin with '%s,' readers will think they are reading a + textbook." scope: text level: error ignorecase: false diff --git a/.github/styles/The-Economist/HorribleWords.yml b/.github/styles/The-Economist/HorribleWords.yml index 860c350..c39c6af 100644 --- a/.github/styles/The-Economist/HorribleWords.yml +++ b/.github/styles/The-Economist/HorribleWords.yml @@ -1,7 +1,9 @@ --- extends: existence message: "'%s' - See section 'Horrible words'" -description: "Be aware that the use of '%s' may have an emetic effect on some of your readers." +description: + "Be aware that the use of '%s' may have an emetic effect on some of your + readers." level: error ignorecase: true tokens: diff --git a/.github/styles/The-Economist/OughtShould.yml b/.github/styles/The-Economist/OughtShould.yml index 49038ef..2271d58 100644 --- a/.github/styles/The-Economist/OughtShould.yml +++ b/.github/styles/The-Economist/OughtShould.yml @@ -1,7 +1,8 @@ --- extends: existence message: Go easy on the oughts and shoulds -description: "The aim is not just to tell readers what you think, but to persuade them." +description: + "The aim is not just to tell readers what you think, but to persuade them." scope: text level: error ignorecase: true diff --git a/.github/styles/The-Economist/OverusedWords.yml b/.github/styles/The-Economist/OverusedWords.yml index 7d0ad84..78cf612 100644 --- a/.github/styles/The-Economist/OverusedWords.yml +++ b/.github/styles/The-Economist/OverusedWords.yml @@ -1,7 +1,9 @@ --- extends: existence message: "'%s' is overused" -description: "Nothing betrays the lazy writer faster than fly-blown phrases used in the belief that they are snappy, trendy or cool." +description: + "Nothing betrays the lazy writer faster than fly-blown phrases used in the + belief that they are snappy, trendy or cool." level: error scope: text ignorecase: true diff --git a/.github/styles/The-Economist/Slang.yml b/.github/styles/The-Economist/Slang.yml index 1e29abc..4107b03 100644 --- a/.github/styles/The-Economist/Slang.yml +++ b/.github/styles/The-Economist/Slang.yml @@ -3,7 +3,9 @@ extends: existence message: "'%s' - See section 'Journalese and slang'" scope: text level: error -description: "Slang, like metaphors, should be used only occasionally if it is to have effect." +description: + "Slang, like metaphors, should be used only occasionally if it is to have + effect." ignorecase: true tokens: - ailing diff --git a/.github/styles/The-Economist/UnexpandedAcronyms.yml b/.github/styles/The-Economist/UnexpandedAcronyms.yml index 5b278bc..7985d6b 100644 --- a/.github/styles/The-Economist/UnexpandedAcronyms.yml +++ b/.github/styles/The-Economist/UnexpandedAcronyms.yml @@ -3,7 +3,9 @@ extends: conditional message: "'%s' has no definition" level: error scope: text -description: "Write the words in full on first appearance, unless the abbreviation or acronym is well known." +description: + "Write the words in full on first appearance, unless the abbreviation or + acronym is well known." first: \b([A-Z]{3,5})\b second: (?:\b[A-Z][a-z]+ )+\(([A-Z]{3,5})\) exceptions: diff --git a/.github/styles/proselint/Uncomparables.yml b/.github/styles/proselint/Uncomparables.yml index 34f432f..2162ff4 100644 --- a/.github/styles/proselint/Uncomparables.yml +++ b/.github/styles/proselint/Uncomparables.yml @@ -9,7 +9,8 @@ action: - " " - "1" raw: - - \b(?:absolutely|most|more|less|least|very|quite|largely|extremely|increasingly|kind of|mildy|hardly|greatly|sort of)\b\s* + - \b(?:absolutely|most|more|less|least|very|quite|largely|extremely|increasingly|kind + of|mildy|hardly|greatly|sort of)\b\s* tokens: - absolute - adequate diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 231f801..fdc1412 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -18,13 +18,13 @@ jobs: runs-on: ubuntu-latest steps: # yamllint disable-line rule:line-length - - uses: paddyroddy/.github/actions/latex/chktex@be31e8f5758700dafb58c5852530e750f1ea69d8 # v0 + - uses: paddyroddy/.github/actions/latex/chktex@9e9190a2091c7580ee5386336c7441dab34f9170 # v0 vale: runs-on: ubuntu-latest steps: # yamllint disable-line rule:line-length - - uses: paddyroddy/.github/actions/latex/vale@be31e8f5758700dafb58c5852530e750f1ea69d8 # v0 + - uses: paddyroddy/.github/actions/latex/vale@9e9190a2091c7580ee5386336c7441dab34f9170 # v0 with: github-token: ${{ secrets.GITHUB_TOKEN }} @@ -32,7 +32,7 @@ jobs: runs-on: ubuntu-latest steps: # yamllint disable-line rule:line-length - - uses: paddyroddy/.github/actions/latex/compile@be31e8f5758700dafb58c5852530e750f1ea69d8 # v0 + - uses: paddyroddy/.github/actions/latex/compile@9e9190a2091c7580ee5386336c7441dab34f9170 # v0 - name: Upload artefacts # yamllint disable-line rule:line-length @@ -53,7 +53,7 @@ jobs: name: artefacts # yamllint disable-line rule:line-length - - uses: paddyroddy/.github/actions/dropbox@be31e8f5758700dafb58c5852530e750f1ea69d8 # v0 + - uses: paddyroddy/.github/actions/dropbox@9e9190a2091c7580ee5386336c7441dab34f9170 # v0 with: configfile-version: ${{ secrets.CONFIGFILE_VERSION }} files-to-upload: $(find . -maxdepth 1 -name '*.pdf' -print) diff --git a/.github/workflows/licence.yaml b/.github/workflows/licence.yaml index f970a89..08a93a3 100644 --- a/.github/workflows/licence.yaml +++ b/.github/workflows/licence.yaml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: # yamllint disable-line rule:line-length - - uses: paddyroddy/.github/actions/licence@be31e8f5758700dafb58c5852530e750f1ea69d8 # v0 + - uses: paddyroddy/.github/actions/licence@9e9190a2091c7580ee5386336c7441dab34f9170 # v0 with: github-token: ${{ secrets.GITHUB_TOKEN }} licence-file: ./LICENCE.txt diff --git a/.github/workflows/linting.yaml b/.github/workflows/linting.yaml index 4026421..d5a61d5 100644 --- a/.github/workflows/linting.yaml +++ b/.github/workflows/linting.yaml @@ -13,6 +13,6 @@ jobs: runs-on: ubuntu-latest steps: # yamllint disable-line rule:line-length - - uses: paddyroddy/.github/actions/linting@be31e8f5758700dafb58c5852530e750f1ea69d8 # v0 + - uses: paddyroddy/.github/actions/linting@9e9190a2091c7580ee5386336c7441dab34f9170 # v0 with: pre-commit-config: ./.pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 011fd9e..cf0d5c4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ --- repos: - repo: https://github.com/paddyroddy/.github - rev: v0.157.0 + rev: v0.166.0 hooks: - id: general-hooks - id: latex-hooks diff --git a/README.md b/README.md index fb97126..48f9cbf 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,8 @@ Template for latex development ## Formatting -To install `pre-commit` hooks locally, execute `pip install pre-commit` -followed by `pre-commit install`. This only needs to be done once per repo, -and from then on checks are made whenever committing. See steps +To install `pre-commit` hooks locally, execute `pip install pre-commit` followed +by `pre-commit install`. This only needs to be done once per repo, and from then +on checks are made whenever committing. See steps [here](https://pre-commit.com/#automatically-enabling-pre-commit-on-repositories) to enable these checks always.