From d95388479813d1e4e0c8d6f7e84e5999554d7bac Mon Sep 17 00:00:00 2001 From: Barry Morrison <689591+esacteksab@users.noreply.github.com> Date: Fri, 28 Mar 2025 09:31:16 -0500 Subject: [PATCH 1/6] feat: tighten things up, primarily in the footer --- assets/css/main.css | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/assets/css/main.css b/assets/css/main.css index 97b83df..c371c41 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -45,11 +45,12 @@ } a { - @apply underline underline-offset-4; + @apply underline underline-offset-2; } p { - @apply block font-medium; + @apply block text-sm/tight font-medium; + margin-block: unset; } } @@ -139,7 +140,7 @@ nav label { } .read-more a:hover { - @apply underline underline-offset-4; + @apply underline underline-offset-2; } .pager { @@ -147,11 +148,11 @@ nav label { } .pager a { - @apply md:font-semibold md:no-underline; + @apply md:font-semibold lg:no-underline; } .pager a:hover { - @apply underline underline-offset-4; + @apply underline underline-offset-2; } .pager li { @@ -159,7 +160,7 @@ nav label { } .tight { - @apply m-0 p-0 underline underline-offset-4; + @apply m-0 p-0; } main table { @@ -220,11 +221,11 @@ article .post { } article a { - @apply underline underline-offset-4; + @apply underline underline-offset-2; } .summary p a { - @apply underline underline-offset-4; + @apply underline underline-offset-2; } .til-ls a { @@ -347,8 +348,11 @@ hr { } } +footer p { + margin-block: 0; +} footer .list-inline { - margin-bottom: 1rem; + margin-bottom: 1em; padding-top: 10px; } From f4bee384c7e6067749f59d2c88031ab76c98a898 Mon Sep 17 00:00:00 2001 From: Barry Morrison <689591+esacteksab@users.noreply.github.com> Date: Fri, 28 Mar 2025 09:34:24 -0500 Subject: [PATCH 2/6] chore: prettier formatting toml --- .prettierrc | 8 ++++++++ config/_default/hugo.toml | 17 ++++++++--------- config/_default/markup.toml | 19 +++++++++---------- config/_default/module.toml | 38 ++++++++++++++++++------------------- 4 files changed, 44 insertions(+), 38 deletions(-) diff --git a/.prettierrc b/.prettierrc index d595dbf..0fac71a 100644 --- a/.prettierrc +++ b/.prettierrc @@ -4,6 +4,7 @@ "prettier-plugin-pkg", "prettier-plugin-go-template", "prettier-plugin-css-order", + "prettier-plugin-toml", "prettier-plugin-tailwindcss" ], "overrides": [ @@ -24,6 +25,13 @@ "tabWidth": 2, "embeddedLanguageFormatting": "off" } + }, + { + "files": ["*.toml"], + "options": { + "indentTables": true, + "indentEntries": true + } } ], "tailwindStylesheet": "./assets/css/main.css", diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index 99287e1..0d8e03b 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -1,12 +1,11 @@ - enableEmoji = true [build] -[build.buildStats] -enable = true -[[build.cachebusters]] -source = 'assets/notwatching/hugo_stats.json' -target = 'css' -[[build.cachebusters]] -source = '(postcss|tailwind).config.js' -target = 'css' + [build.buildStats] + enable = true + [[build.cachebusters]] + source = 'assets/notwatching/hugo_stats.json' + target = 'css' + [[build.cachebusters]] + source = '(postcss|tailwind).config.js' + target = 'css' diff --git a/config/_default/markup.toml b/config/_default/markup.toml index 3210c6a..194a3dd 100644 --- a/config/_default/markup.toml +++ b/config/_default/markup.toml @@ -1,15 +1,14 @@ - [goldmark] -[goldmark.parser] -[goldmark.parser.attribute] -block = true -title = true + [goldmark.parser] + [goldmark.parser.attribute] + block = true + title = true [highlight] -noClasses = false -wrapperClass = 'highlight not-prose' + noClasses = false + wrapperClass = 'highlight not-prose' [tableOfContents] -endLevel = 6 -ordered = false -startLevel = 1 + endLevel = 6 + ordered = false + startLevel = 1 diff --git a/config/_default/module.toml b/config/_default/module.toml index d4c968b..d87a501 100644 --- a/config/_default/module.toml +++ b/config/_default/module.toml @@ -1,28 +1,28 @@ [hugoVersion] -extended = false -min = "0.134.2" + extended = false + min = "0.134.2" [[mounts]] -source = 'content' -target = 'content' + source = 'content' + target = 'content' [[mounts]] -source = 'static' -target = 'static' + source = 'static' + target = 'static' [[mounts]] -source = 'layouts' -target = 'layouts' + source = 'layouts' + target = 'layouts' [[mounts]] -source = 'data' -target = 'data' + source = 'data' + target = 'data' [[mounts]] -source = 'assets' -target = 'assets' + source = 'assets' + target = 'assets' [[mounts]] -source = 'i18n' -target = 'i18n' + source = 'i18n' + target = 'i18n' [[mounts]] -source = 'archetypes' -target = 'archetypes' + source = 'archetypes' + target = 'archetypes' [[mounts]] -disableWatch = true -source = "hugo_stats.json" -target = "assets/watching/hugo_stats.json" + disableWatch = false + source = "hugo_stats.json" + target = "assets/watching/hugo_stats.json" From 0c0a8f146813c126a56685004d13c1c72cb0dd40 Mon Sep 17 00:00:00 2001 From: Barry Morrison <689591+esacteksab@users.noreply.github.com> Date: Fri, 28 Mar 2025 09:34:53 -0500 Subject: [PATCH 3/6] feat: initial support for GitInfo --- layouts/_default/baseof.html | 2 +- layouts/partials/footer.html | 13 ++++++------- layouts/partials/terms.html | 10 +++++----- 3 files changed, 12 insertions(+), 13 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 8da3cce..14869c4 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,5 +1,5 @@ - {{- partial "head.html" . }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 26fc77f..38c1d30 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -3,7 +3,7 @@ {{- if isset $.Site.Params.Author .id }}
  • + title="{{ .title }}" target="_blank"> @@ -25,12 +25,11 @@ {{- end -}} {{- end -}} -
    - {{/* Copyright */}} +
    + {{- /* Copyright */ -}} {{- with .Site.Copyright -}} -

    {{ . | markdownify }} - {{- else }}© {{ now.Format "2006" }} {{ $.Site.Params.Author.name }}{{ end -}} -

    - Powered by
    Hugo +

    {{ . | markdownify }}

    + {{- else }}

    © {{ now.Format "2006" }} {{ $.Site.Params.Author.name }}

    {{ end -}} +

    Built with and Simpl. Powered by Hugo. {{ with .GitInfo -}}{{- .AbbreviatedHash -}}{{- end -}}

    {{- /* Trim EOF */ -}} diff --git a/layouts/partials/terms.html b/layouts/partials/terms.html index c4011dd..48ba445 100644 --- a/layouts/partials/terms.html +++ b/layouts/partials/terms.html @@ -6,7 +6,7 @@ @example: {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} -*/}} +*/ -}} {{- $page := .page }} {{- $taxonomy := .taxonomy }} @@ -15,13 +15,13 @@
    {{ $label }}:
    "partials/terms.html" -{{- end }} +{{ end -}} {{- /* Trim EOF */ -}} From c891d48c787b79399f0a41bd1d040c8eafd34cf6 Mon Sep 17 00:00:00 2001 From: Barry Morrison <689591+esacteksab@users.noreply.github.com> Date: Fri, 28 Mar 2025 18:30:40 -0500 Subject: [PATCH 4/6] chore: all things toml --- .gitignore | 6 +- .prettierrc | 13 +- .vscode/settings.json | 41 +++++ config/_default/hugo.toml | 1 + config/_default/markup.toml | 7 +- config/_default/module.toml | 7 +- data/social.toml | 328 ++++++++++++++++++------------------ theme.toml | 13 +- 8 files changed, 231 insertions(+), 185 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.gitignore b/.gitignore index 44bd049..109d6bc 100644 --- a/.gitignore +++ b/.gitignore @@ -219,13 +219,11 @@ terraform.rc ################# # VSCode Things # ################# -# keep-sorted start +# We can't sort this as the ordering here matters +.vscode/* # But this file could be helpful to others !.vscode/settings.json # Stores VSCode versions used for testing VSCode extensions .vscode-test # sometimes there is other stuff in here -.vscode/* - -# keep-sorted end diff --git a/.prettierrc b/.prettierrc index 0fac71a..7317d17 100644 --- a/.prettierrc +++ b/.prettierrc @@ -15,14 +15,12 @@ "goTemplateBracketSpacing": true, "bracketSameLine": true, "embeddedLanguageFormatting": "off", - "htmlWhitespaceSensitivity": "strict", - "tabWidth": 2 + "htmlWhitespaceSensitivity": "strict" } }, { "files": ["*.md"], "options": { - "tabWidth": 2, "embeddedLanguageFormatting": "off" } }, @@ -30,12 +28,17 @@ "files": ["*.toml"], "options": { "indentTables": true, - "indentEntries": true + "indentEntries": true, + "alignEntries": true } } ], "tailwindStylesheet": "./assets/css/main.css", "tailwindConfig": "./tailwind.config.js", "tailwindFunctions": ["tw"], - "cssDeclarationSorterOrder": "smacss" + "cssDeclarationSorterOrder": "smacss", + "trailingComma": "es5", + "tabWidth": 4, + "semi": false, + "singleQuote": true } diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..8c47ed3 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,41 @@ +{ + "markdown.validate.enabled": true, + "editor.formatOnSave": true, + "[toml]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "json.schemas": [ + { + "fileMatch": ["./config/_default/*.toml", "config.toml"], + "url": "https://json.schemastore.org/hugo.json" + }, + { + "fileMatch": [".prettierrc"], + "url": "https://json.schemastore.org/prettierrc.json" + }, + { + "fileMatch": ["renovate.json"], + "url": "https://docs.renovatebot.com/renovate-schema.json" + }, + { + "fileMatch": ["theme.toml"], + "url": "https://json.schemastore.org/hugo-theme.json" + }, + { + "fileMatch": ["package.json"], + "url": "https://json.schemastore.org/package.json" + }, + { + "fileMatch": [".stylelintrc.json"], + "url": "https://json.schemastore.org/stylelintrc.json" + }, + { + "fileMatch": ["pyproject.toml"], + "url": "https://json.schemastore.org/pyproject.json" + }, + { + "fileMatch": [".pre-commit-config.yaml"], + "url": "https://json.schemastore.org/pre-commit-config.json" + } + ] +} diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index 0d8e03b..df1758f 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -1,3 +1,4 @@ +# https://json.schemastore.org/hugo.json enableEmoji = true [build] diff --git a/config/_default/markup.toml b/config/_default/markup.toml index 194a3dd..171866a 100644 --- a/config/_default/markup.toml +++ b/config/_default/markup.toml @@ -1,3 +1,4 @@ +# https://json.schemastore.org/hugo.json [goldmark] [goldmark.parser] [goldmark.parser.attribute] @@ -5,10 +6,10 @@ title = true [highlight] - noClasses = false + noClasses = false wrapperClass = 'highlight not-prose' [tableOfContents] - endLevel = 6 - ordered = false + endLevel = 6 + ordered = false startLevel = 1 diff --git a/config/_default/module.toml b/config/_default/module.toml index d87a501..74366b6 100644 --- a/config/_default/module.toml +++ b/config/_default/module.toml @@ -1,6 +1,7 @@ +# https://json.schemastore.org/hugo.json [hugoVersion] extended = false - min = "0.134.2" + min = "0.134.2" [[mounts]] source = 'content' target = 'content' @@ -24,5 +25,5 @@ target = 'archetypes' [[mounts]] disableWatch = false - source = "hugo_stats.json" - target = "assets/watching/hugo_stats.json" + source = "hugo_stats.json" + target = "assets/watching/hugo_stats.json" diff --git a/data/social.toml b/data/social.toml index 6025be0..43bdca6 100644 --- a/data/social.toml +++ b/data/social.toml @@ -1,245 +1,245 @@ [[social_icons]] -icon = "fab fa-500px" -id = "500px" -title = "500px" -url = "https://500px.com/%s" + icon = "fab fa-500px" + id = "500px" + title = "500px" + url = "https://500px.com/%s" [[social_icons]] -icon = "fas fa-at" -id = "about" -title = "About" -url = "%s" + icon = "fas fa-at" + id = "about" + title = "About" + url = "%s" [[social_icons]] -icon = "fab fa-amazon" -id = "amazonwishlist" -title = "Amazon Wishlist" -url = "https://amzn.com/w/%s" + icon = "fab fa-amazon" + id = "amazonwishlist" + title = "Amazon Wishlist" + url = "https://amzn.com/w/%s" [[social_icons]] -icon = "fab fa-angellist" -id = "angellist" -title = "AngelList" -url = "https://www.angel.co/p/%s" + icon = "fab fa-angellist" + id = "angellist" + title = "AngelList" + url = "https://www.angel.co/p/%s" [[social_icons]] -icon = "fab fa-bandcamp" -id = "bandcamp" -title = "Bandcamp" -url = "https://%s.bandcamp.com/" + icon = "fab fa-bandcamp" + id = "bandcamp" + title = "Bandcamp" + url = "https://%s.bandcamp.com/" [[social_icons]] -icon = "fab fa-bitbucket" -id = "bitbucket" -title = "Bitbucket" -url = "https://bitbucket.org/%s" + icon = "fab fa-bitbucket" + id = "bitbucket" + title = "Bitbucket" + url = "https://bitbucket.org/%s" [[social_icons]] -icon = "fab fa-bluesky" -id = "bluesky" -title = "Bluesky" -url = "https://bsky.app/profile/%s.bsky.social" + icon = "fab fa-bluesky" + id = "bluesky" + title = "Bluesky" + url = "https://bsky.app/profile/%s.bsky.social" [[social_icons]] -icon = "fab fa-codepen" -id = "codepen" -title = "CodePen" -url = "https://codepen.io/%s" + icon = "fab fa-codepen" + id = "codepen" + title = "CodePen" + url = "https://codepen.io/%s" [[social_icons]] -icon = "fab fa-discord" -id = "discord" -title = "Discord" -url = "https://discord.gg/%s" + icon = "fab fa-discord" + id = "discord" + title = "Discord" + url = "https://discord.gg/%s" [[social_icons]] -icon = "fab fa-docker" -id = "docker" -title = "Docker" -url = "https://hub.docker.come/r/%s" + icon = "fab fa-docker" + id = "docker" + title = "Docker" + url = "https://hub.docker.come/r/%s" [[social_icons]] -icon = "fas fa-envelope" -id = "email" -title = "Email me" -url = "mailto:%s" + icon = "fas fa-envelope" + id = "email" + title = "Email me" + url = "mailto:%s" [[social_icons]] -icon = "fab fa-facebook" -id = "facebook" -title = "Facebook" -url = "https://www.facebook.com/%s" + icon = "fab fa-facebook" + id = "facebook" + title = "Facebook" + url = "https://www.facebook.com/%s" [[social_icons]] -icon = "fab fa-github" -id = "github" -title = "GitHub" -url = "https://github.com/%s" + icon = "fab fa-github" + id = "github" + title = "GitHub" + url = "https://github.com/%s" [[social_icons]] -icon = "fab fa-gitlab" -id = "gitlab" -title = "GitLab" -url = "https://gitlab.com/%s" + icon = "fab fa-gitlab" + id = "gitlab" + title = "GitLab" + url = "https://gitlab.com/%s" [[social_icons]] -icon = "fab fa-instagram" -id = "instagram" -title = "Instagram" -url = "https://www.instagram.com/%s" + icon = "fab fa-instagram" + id = "instagram" + title = "Instagram" + url = "https://www.instagram.com/%s" [[social_icons]] -icon = "fas fa-gamepad" -id = "itchio" -title = "Itch.io" -url = "https://itch.io/profile/%s" + icon = "fas fa-gamepad" + id = "itchio" + title = "Itch.io" + url = "https://itch.io/profile/%s" [[social_icons]] -icon = "fab fa-kaggle" -id = "kaggle" -title = "kaggle" -url = "https://www.kaggle.com/%s" + icon = "fab fa-kaggle" + id = "kaggle" + title = "kaggle" + url = "https://www.kaggle.com/%s" [[social_icons]] -icon = "fab fa-keybase" -id = "keybase" -title = "Keybase" -url = "https://keybase.io/%s" + icon = "fab fa-keybase" + id = "keybase" + title = "Keybase" + url = "https://keybase.io/%s" [[social_icons]] -icon = "fab fa-lastfm" -id = "lastfm" -title = "Last.fm" -url = "https://www.last.fm/user/%s" + icon = "fab fa-lastfm" + id = "lastfm" + title = "Last.fm" + url = "https://www.last.fm/user/%s" [[social_icons]] -icon = "fab fa-linkedin" -id = "linkedin" -title = "LinkedIn" -url = "https://linkedin.com/in/%s" + icon = "fab fa-linkedin" + id = "linkedin" + title = "LinkedIn" + url = "https://linkedin.com/in/%s" [[social_icons]] -icon = "fab fa-mastodon" -id = "mastodon" -title = "Mastodon" -url = "https://%s" + icon = "fab fa-mastodon" + id = "mastodon" + title = "Mastodon" + url = "https://%s" [[social_icons]] -icon = "fab fa-medium" -id = "medium" -title = "Medium" -url = "https://medium.com/@%s" + icon = "fab fa-medium" + id = "medium" + title = "Medium" + url = "https://medium.com/@%s" [[social_icons]] -icon = "fab fa-paypal" -id = "paypal" -title = "PayPal" -url = "https://paypal.me/%s" + icon = "fab fa-paypal" + id = "paypal" + title = "PayPal" + url = "https://paypal.me/%s" [[social_icons]] -icon = "fab fa-pinterest" -id = "pinterest" -title = "Pinterest" -url = "https://paypal.me/%s" + icon = "fab fa-pinterest" + id = "pinterest" + title = "Pinterest" + url = "https://paypal.me/%s" [[social_icons]] -icon = "fab fa-quora" -id = "quora" -title = "Quora" -url = "https://www.quora.com/profile/%s" + icon = "fab fa-quora" + id = "quora" + title = "Quora" + url = "https://www.quora.com/profile/%s" [[social_icons]] -icon = "fab fa-reddit-alien" -id = "reddit" -title = "Reddit" -url = "https://reddit.com/u/%s" + icon = "fab fa-reddit-alien" + id = "reddit" + title = "Reddit" + url = "https://reddit.com/u/%s" [[social_icons]] -icon = "fab fa-slack" -id = "slack" -title = "Slack" -url = "https://%s.slack.com/" + icon = "fab fa-slack" + id = "slack" + title = "Slack" + url = "https://%s.slack.com/" [[social_icons]] -icon = "fab fa-slideshare" -id = "slideshare" -title = "Slideshare" -url = "https://www.slideshare.net/%s" + icon = "fab fa-slideshare" + id = "slideshare" + title = "Slideshare" + url = "https://www.slideshare.net/%s" [[social_icons]] -icon = "fab fa-snapchat-ghost" -id = "snapchat" -title = "Snapchat" -url = "https://www.snapchat.com/add/%s" + icon = "fab fa-snapchat-ghost" + id = "snapchat" + title = "Snapchat" + url = "https://www.snapchat.com/add/%s" [[social_icons]] -icon = "fab fa-soundcloud" -id = "soundcloud" -title = "SoundCloud" -url = "https://soundcloud.com/%s" + icon = "fab fa-soundcloud" + id = "soundcloud" + title = "SoundCloud" + url = "https://soundcloud.com/%s" [[social_icons]] -icon = "fab fa-spotify" -id = "spotify" -title = "Spotify" -url = "https://open.spotify.com/user/%s" + icon = "fab fa-spotify" + id = "spotify" + title = "Spotify" + url = "https://open.spotify.com/user/%s" [[social_icons]] -icon = "fab fa-stack-overflow" -id = "stackoverflow" -title = "StackOverflow" -url = "https://stackoverflow.com/%s" + icon = "fab fa-stack-overflow" + id = "stackoverflow" + title = "StackOverflow" + url = "https://stackoverflow.com/%s" [[social_icons]] -icon = "fab fa-steam" -id = "steam" -title = "Steam" -url = "https://steamcommunity.com/id/%s" + icon = "fab fa-steam" + id = "steam" + title = "Steam" + url = "https://steamcommunity.com/id/%s" [[social_icons]] -icon = "fab fa-strava" -id = "strava" -title = "Strava" -url = "https://www.strava.com/athletes/%s" + icon = "fab fa-strava" + id = "strava" + title = "Strava" + url = "https://www.strava.com/athletes/%s" [[social_icons]] -icon = "fab fa-tiktok" -id = "tiktok" -title = "TikTok" -url = "https://www.tiktok.com/%s" + icon = "fab fa-tiktok" + id = "tiktok" + title = "TikTok" + url = "https://www.tiktok.com/%s" [[social_icons]] -icon = "fab fa-telegram" -id = "telegram" -title = "Telegram" -url = "https://telegram.me/%s" + icon = "fab fa-telegram" + id = "telegram" + title = "Telegram" + url = "https://telegram.me/%s" [[social_icons]] -icon = "fab fa-x-twitter" -id = "twitter" -title = "Twitter" -url = "https://twitter.com/%s" + icon = "fab fa-x-twitter" + id = "twitter" + title = "Twitter" + url = "https://twitter.com/%s" [[social_icons]] -icon = "fab fa-vk" -id = "vk" -title = "VK" -url = "https://vk.com/%s" + icon = "fab fa-vk" + id = "vk" + title = "VK" + url = "https://vk.com/%s" [[social_icons]] -icon = "fab fa-weibo" -id = "weibo" -title = "Weibo" -url = "https://weibo.com/%s" + icon = "fab fa-weibo" + id = "weibo" + title = "Weibo" + url = "https://weibo.com/%s" [[social_icons]] -icon = "fab fa-xing" -id = "xing" -title = "Xing" -url = "https://www.xing.com/profile/%s" + icon = "fab fa-xing" + id = "xing" + title = "Xing" + url = "https://www.xing.com/profile/%s" [[social_icons]] -icon = "fab fa-youtube" -id = "youtube" -title = "Youtube" -url = "https://www.youtube.com/%s" + icon = "fab fa-youtube" + id = "youtube" + title = "Youtube" + url = "https://www.youtube.com/%s" diff --git a/theme.toml b/theme.toml index 6780abb..f403146 100644 --- a/theme.toml +++ b/theme.toml @@ -1,5 +1,6 @@ -name = 'simpl' -license = 'MIT' +# https://json.schemastore.org/hugo-theme.json +name = 'simpl' +license = 'MIT' licenselink = 'https://github.com/esacteksab/simpl/LICENSE' description = 'An attempt at a barebones theme.' @@ -7,13 +8,13 @@ description = 'An attempt at a barebones theme.' homepage = 'https://github.com/esacteksab/simpl' # If you have a running demo of the theme -demosite = 'https://barrymorrison.com' +demosite = 'https://esacteksab.com' # Taxonomy terms -tags = ['blog'] +tags = ['blog'] features = ['dark', 'tailwindcss', 'dark-a11y'] # If the theme has a single author [author] -name = 'Barry Morrison' -homepage = 'https://barrymorrison.com' + name = 'Barry Morrison' + homepage = 'https://esacteksab.com' From a9e374a800752d9abb5cf927853955766b580c30 Mon Sep 17 00:00:00 2001 From: Barry Morrison <689591+esacteksab@users.noreply.github.com> Date: Fri, 28 Mar 2025 18:34:24 -0500 Subject: [PATCH 5/6] ci: initial commit of GitHub Actions Workflows --- .github/CODEOWNERS | 3 +++ .github/workflows/pre-commit.yml | 23 +++++++++++++++++++++++ .github/workflows/spelling.yml | 19 +++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 .github/CODEOWNERS create mode 100644 .github/workflows/pre-commit.yml create mode 100644 .github/workflows/spelling.yml diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..c65db0b --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,3 @@ +* @esacteksab +/.github/CODEOWNERS @esacteksab +/.github/settings.yml @esacteksab diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml new file mode 100644 index 0000000..4be05d7 --- /dev/null +++ b/.github/workflows/pre-commit.yml @@ -0,0 +1,23 @@ +name: Pre-Commit + +on: + pull_request: + branches: + - "main" + push: + branches: + - "*" + +concurrency: + group: ${{ github.workflow }}-${{ github.ref_name }} + cancel-in-progress: true + +env: + SKIP: ${{ vars.SKIP }} + +permissions: + contents: read + +jobs: + precommit-reusable: + uses: esacteksab/.github/.github/workflows/pre-commit.yml@1974c1790378cb8c665fabd34f8cc18a40653eef diff --git a/.github/workflows/spelling.yml b/.github/workflows/spelling.yml new file mode 100644 index 0000000..d29bd74 --- /dev/null +++ b/.github/workflows/spelling.yml @@ -0,0 +1,19 @@ +name: Spell Check + +permissions: + contents: read + +on: [pull_request] + +env: + RUST_BACKTRACE: 1 + CARGO_TERM_COLOR: always + CLICOLOR: 1 + +concurrency: + group: "${{ github.workflow }}-${{ github.ref_name }}" + cancel-in-progress: true + +jobs: + typos-reusable: + uses: esacteksab/.github/.github/workflows/spelling.yml@1974c1790378cb8c665fabd34f8cc18a40653eef From 9ab0784d1b74cfff33314d513f4088fbc303cc80 Mon Sep 17 00:00:00 2001 From: Barry Morrison <689591+esacteksab@users.noreply.github.com> Date: Fri, 28 Mar 2025 18:37:02 -0500 Subject: [PATCH 6/6] ci: release template --- .github/release.yml | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .github/release.yml diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..50c2371 --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,44 @@ +changelog: + exclude: + labels: + - ignore-changelog + + categories: + - title: ":warning: Update considerations and deprecations" + labels: + - "type: breaking" + - "type: deprecation" + - "type: regression" + - "type: revert" + + - title: ":rocket: New features and improvements" + labels: + - "type: feature" + - "type: enhancement" + + - title: ":lady_beetle: Bug fixes" + labels: + - "type: fix" + - "type: bug" + + - title: ":nail_polish: Style, UI, UX" + labels: + - "type: UX" + - "type: UI" + + - title: ":book: Documentation" + labels: + - "type: documentation" + + - title: ":hammer: Build/Test Dependency Upgrades" + labels: + - "type: dependencies" + - "type: testing" + - "type: ci/cd" + - "type: build" + - "type: chore" + - "type: task" + + - title: ":question: What's Changed" + labels: + - "type: refactor"