Skip to content

Commit 12f119a

Browse files
authored
Merge branch 'main' into fix/copier-update
2 parents d2c3504 + ffa9d4b commit 12f119a

File tree

18 files changed

+264
-17
lines changed

18 files changed

+264
-17
lines changed

.cz.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tool.commitizen]
2-
version = "0.15.7"
2+
version = "0.15.9"
33
bump_message = "build(version): :bookmark: update version from $current_version to $new_version"
44
version_schema = "semver"
55
version_provider = "commitizen"

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ updates:
33
- package-ecosystem: github-actions
44
directory: /
55
schedule:
6-
interval: monthly
6+
interval: weekly
77
commit-message:
88
prefix: ci
99
include: scope

.github/workflows/release-project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions: read-all
1111
jobs:
1212
release:
1313
# This job outputs env variables `previous_version` and `current_version`.
14-
# Only give permissions for this job.
14+
# The workflow needs write permissions for `GITHUB_TOKEN` to create a release.
1515
permissions:
1616
contents: write
1717
uses: seedcase-project/.github/.github/workflows/reusable-release-project.yml@main

.github/workflows/test.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Test template creation
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
# Least privilege permissions
10+
permissions: read-all
11+
12+
jobs:
13+
test-copier:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
18+
19+
- name: Set up uv
20+
uses: astral-sh/setup-uv@bd01e18f51369d5a26f1651c3cb451d3417e3bba
21+
with:
22+
enable-cache: true
23+
24+
- name: Set up Quarto
25+
uses: quarto-dev/quarto-actions/setup@9e48da27e184aa238fcb49f5db75469626d43adb # v2.1.9
26+
27+
- name: Install justfile
28+
run: sudo apt install -y just
29+
30+
- name: Set Git user
31+
run: |
32+
git config --global user.name "GitHub Actions"
33+
git config --global user.email "[email protected]"
34+
35+
- name: Test and check template creation
36+
run: just _tests

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ repos:
2525
# sub-packages, which confuses pre-commit when it tries to find the latest
2626
# version
2727
- repo: https://github.com/adhtruong/mirrors-typos
28-
rev: v1.35.3
28+
rev: v1.35.4
2929
hooks:
3030
- id: typos

_contributors.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
These are the people who have contributed by submitting changes through pull requests :tada:
22

33

4-
[\@lwjohnst86](https://github.com/lwjohnst86), [\@signekb](https://github.com/signekb), [\@martonvago](https://github.com/martonvago)
4+
[\@lwjohnst86](https://github.com/lwjohnst86), [\@martonvago](https://github.com/martonvago), [\@signekb](https://github.com/signekb)

_extensions/seedcase-project/seedcase-theme/_extension.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
title: seedcase-theme
22
author: Luke W. Johnston
3-
version: 0.1.0
4-
quarto-required: ">=1.2.0"
3+
version: 0.4.1
4+
quarto-required: ">=1.7.0"
55
contributes:
66
formats:
77
common:
@@ -27,6 +27,7 @@ contributes:
2727
location: navbar
2828
type: textbox
2929
navbar:
30+
pinned: true
3031
background: light
3132
logo: logos/navbar-logo-seedcase-project.svg
3233
logo-alt: "Seedcase Project logo: Main page"
@@ -43,7 +44,5 @@ contributes:
4344
href: https://seedcase-project.org/#acknowledgements
4445

4546
csl: vancouver.csl
46-
4747
format: seedcase-theme-html
48-
4948
brand: _brand.yml

template/.github/dependabot.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
version: 2
22
updates:
3+
- package-ecosystem: github-actions
4+
directory: /
5+
schedule:
6+
interval: monthly
7+
commit-message:
8+
prefix: ci
9+
include: scope
10+
311
- package-ecosystem: uv
412
directory: /
513
schedule:
614
interval: monthly
7-
versioning-strategy: increase-if-necessary
815
commit-message:
916
prefix: build
1017
include: scope

template/404.qmd.jinja

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
{% if is_seedcase_project -%}
3+
title: "You've entered the garden of missing pages"
4+
{% else -%}
5+
title: "The page you are looking for does not exist"
6+
{% endif -%}
7+
---
8+
9+
{% if is_seedcase_project -%}
10+
Let's get you back to greener grounds.
11+
12+
👉 Go to [homepage](/index.qmd).
13+
14+
![](/_extensions/seedcase-project/seedcase-theme/images/404.svg){fig-alt="An illustration of the number 404 surrounded by trees and mountains"}
15+
16+
## Illustration by [Storyset](https://storyset.com/web) {.appendix}
17+
{%- else -%}
18+
This page does not exist, go back to the [homepage](/index.qmd) or check the URL for typos.
19+
{%- endif %}

template/CODE_OF_CONDUCT.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Contributor Code of Conduct
2+
3+
As contributors and maintainers of this project, we pledge to respect
4+
all people who contribute through reporting issues, posting suggestions,
5+
updating any material, submitting pull requests, and other activities.
6+
7+
We are committed to making participation in this project a
8+
harassment-free experience for everyone, regardless of level of
9+
experience, gender, gender identity and expression, sexual orientation,
10+
disability, personal appearance, body size, race, ethnicity, age, or
11+
religion.
12+
13+
Examples of unacceptable behavior by participants include the use of
14+
sexual language or imagery, derogatory comments or personal attacks,
15+
trolling, public or private harassment, insults, or other unprofessional
16+
conduct.
17+
18+
Project maintainers have the right and responsibility to remove, edit,
19+
or reject comments, commits, code, wiki edits, issues, and other
20+
contributions that are not aligned to this Code of Conduct. Project
21+
maintainers who do not follow the Code of Conduct may be removed from
22+
the project team.
23+
24+
Instances of abusive, harassing, or otherwise unacceptable behavior may
25+
be reported by opening an issue or contacting one or more of the project
26+
maintainers.
27+
28+
This Code of Conduct is adapted from the Contributor Covenant
29+
(https://contributor-covenant.org), version 1.0.0, available at
30+
https://contributor-covenant.org/version/1/0/0/

0 commit comments

Comments
 (0)