Skip to content

Commit ad91b0c

Browse files
authored
Merge branch 'main' into feat/add-missing-workflows
2 parents 85d9873 + ffa9d4b commit ad91b0c

File tree

17 files changed

+228
-17
lines changed

17 files changed

+228
-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

.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/

template/CONTRIBUTING.md.jinja

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Contributing
2+
3+
## Issues and bugs :bug:
4+
5+
The easiest way to contribute is to report issues or bugs that you might
6+
find while using `{{ github_repo }}`. You can do this by creating a
7+
[new](https://github.com/{{ github_repo_spec }}/issues/new/choose)
8+
issue on our GitHub repository.
9+
10+
## Adding or modifying content :pencil2:
11+
12+
{% if is_seedcase_project -%}
13+
If you would like to contribute content, please check out our
14+
[guidebook](https://guidebook.seedcase-project.org/) for more specific
15+
details on how we work and develop. It is a regularly evolving document,
16+
so is at various states of completion.
17+
{%- endif %}
18+
19+
To contribute to `{{ github_repo }}`, you first need to install
20+
[uv](https://docs.astral.sh/uv/) and
21+
[justfile](https://just.systems/man/en/packages.html). We use uv and
22+
justfile to manage our project, such as to run checks and test the
23+
template. Both the uv and justfile websites have a more detailed guide
24+
on using uv, but below are some simple instructions to get you started.
25+
26+
It's easiest to install uv and justfile using
27+
[pipx](https://pypa.github.io/pipx/), so install that first. Then,
28+
install uv and justfile by running:
29+
30+
``` bash
31+
pipx install uv rust-just
32+
```
33+
34+
We keep all our development workflows in the `justfile`, so you can
35+
explore it to see what commands are available. To see a list of commands
36+
available, run:
37+
38+
``` bash
39+
just
40+
```
41+
42+
As you contribute, make sure your changes will pass our tests by opening
43+
a terminal so that the working directory is the root of this project's
44+
repository and running:
45+
46+
``` bash
47+
just run-all
48+
```
49+
50+
When committing changes, please try to follow [Conventional
51+
Commits](https://decisions.seedcase-project.org/why-conventional-commits)
52+
as Git messages. Using this convention allows us to be able to
53+
automatically create a release based on the commit message by using
54+
[Commitizen](https://decisions.seedcase-project.org/why-semantic-release-with-commitizen).
55+
If you don't use Conventional Commits when making a commit, we will
56+
revise the pull request title to follow that format, as we use [squash
57+
merges](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/squashing-commits/about-squash-merges)
58+
when merging pull requests, so all other commits in the pull request
59+
will be squashed into one commit.

0 commit comments

Comments
 (0)