Skip to content

Commit 2b3b8b1

Browse files
committed
chore: 🎉 started a template repo
0 parents  commit 2b3b8b1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+2079
-0
lines changed

.dockerignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
docs/
2+
.git
3+
.gitignore
4+
.env
5+
.github
6+
.vscode
7+
.idea
8+
fly.toml
9+
.git/
10+
*.sqlite3
11+
staticfiles
12+
persistent_storage/
13+
.venv
14+
_quarto.yml
15+
_publish.yml
16+
_extensions/
17+
*_libs/

.editorconfig

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# EditorConfig settings. Some editors will read these automatically;
2+
# for those that don't, see here: http://editorconfig.org/
3+
4+
root = true
5+
6+
[*]
7+
charset = utf-8
8+
indent_style = space
9+
indent_size = 2
10+
end_of_line = lf
11+
insert_final_newline = true
12+
trim_trailing_whitespace = true
13+
max_line_length = 88
14+
15+
# Have a bit shorter line length for text docs
16+
[*.{txt,md,qmd}]
17+
max_line_length = 72
18+
indent_size = 4
19+
20+
# Python always uses 4 spaces for tabs
21+
[*.py]
22+
indent_style = space
23+
indent_size = 4
24+
25+
# Makefiles always use tabs for indentation
26+
[Makefile]
27+
indent_style = tab

.github/CODEOWNERS

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# All members on Developers team get added to review PRs
2+
* @seedcase-project/developers
3+
4+
# Ignore these so we don't get added to sync PRs
5+
/.github/
6+
/.vscode/
7+
/.devcontainer/
8+
justfile
9+
.editorconfig
10+
.gitignore
11+
ruff.toml
12+
pyproject.toml
13+
poetry.lock

.github/_project-dependabot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: pip
4+
directory: /
5+
schedule:
6+
interval: weekly
7+
versioning-strategy: increase-if-necessary
8+
commit-message:
9+
prefix: build
10+
include: scope
11+
assignees:
12+
- "lwjohnst86"
13+

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: /
5+
schedule:
6+
interval: weekly
7+
commit-message:
8+
prefix: ci
9+
include: scope
10+
assignees:
11+
- "lwjohnst86"

.github/pull_request_template.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
## Description
2+
3+
These changes are for PURPOSE, because REASON.
4+
5+
Closes #
6+
7+
## Reviewer Focus
8+
9+
<!-- Select quick/in-depth as necessary -->
10+
This PR needs a quick/in-depth review.
11+
12+
Focus on CHANGES.
13+
14+
## Checklist
15+
16+
- [ ] Added or updated tests
17+
- [ ] Tests passed locally
18+
- [ ] Linted and formatted code
19+
- [ ] Build passed locally
20+
- [ ] Updated documentation

.github/sync.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
group:
2+
- files:
3+
# General
4+
- source: .github/CODEOWNERS
5+
dest: .github/CODEOWNERS
6+
- source: .dockerignore
7+
dest: .dockerignore
8+
- source: .editorconfig
9+
dest: .editorconfig
10+
- source: .gitignore
11+
dest: .gitignore
12+
- source: justfile
13+
dest: justfile
14+
- source: poetry.toml
15+
dest: poetry.toml
16+
- source: ruff.toml
17+
dest: ruff.toml
18+
- source: common/LICENSE.md
19+
dest: LICENSE.md
20+
- source: .github/pull_request_template.md
21+
dest: .github/pull_request_template.md
22+
23+
# Actions
24+
- source: .github/workflows/
25+
dest: .github/workflows/
26+
deleteOrphaned: true
27+
exclude: |
28+
sync-files.yml
29+
- source: .github/_project-dependabot.yml
30+
dest: .github/dependabot.yml
31+
32+
# VSCode Settings
33+
- source: .vscode/
34+
dest: .vscode/
35+
deleteOrphaned: true
36+
repos: |
37+
seedcase-project/seedcase-sprout

.github/workflows/add-to-project.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Add to project board
2+
3+
on:
4+
issues:
5+
types:
6+
- opened
7+
- reopened
8+
- transferred
9+
pull_request:
10+
types:
11+
- reopened
12+
- opened
13+
14+
permissions:
15+
pull-requests: write
16+
17+
jobs:
18+
add-to-project:
19+
name: Add to project
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Add issue or PR to project board
23+
uses: actions/add-to-project@v1.0.2
24+
with:
25+
project-url: https://github.com/orgs/seedcase-project/projects/18
26+
github-token: ${{ secrets.ADD_TO_BOARD }}
27+
28+
- name: Assign PR to creator
29+
if: ${{ github.event_name == 'pull_request' }}
30+
run: |
31+
gh pr edit $PR --add-assignee $AUTHOR
32+
env:
33+
AUTHOR: ${{ github.event.pull_request.user.login }}
34+
PR: ${{ github.event.pull_request.html_url }}
35+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
37+

.github/workflows/deploy-demo.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Deploy Demo App
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths-ignore:
8+
# Config files
9+
- ".github/**"
10+
- ".vscode/**"
11+
- ".gitignore"
12+
# Documentation
13+
- "docs/**"
14+
- "*.md"
15+
- "*.qmd"
16+
- "justfile"
17+
# Website files
18+
- _quarto.yml
19+
- index.qmd
20+
- _publish.yml
21+
- _extensions/**
22+
23+
jobs:
24+
lint:
25+
uses: seedcase-project/.github/.github/workflows/lint-python.yml@main
26+
27+
test:
28+
uses: seedcase-project/.github/.github/workflows/test.yml@main
29+
needs: lint
30+
31+
deploy:
32+
name: Deploy app
33+
runs-on: ubuntu-latest
34+
needs: test
35+
36+
concurrency: deploy-group # optional: ensure only one action runs at a time
37+
steps:
38+
- uses: actions/checkout@v4
39+
40+
- name: Deploy to Fly.io
41+
uses: superfly/flyctl-actions/setup-flyctl@master
42+
- run: flyctl deploy --remote-only
43+
env:
44+
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

.github/workflows/deploy-docs.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Deploy documentation as website
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- docs/**
9+
- _quarto.yml
10+
- index.qmd
11+
- _publish.yml
12+
- _extensions/**
13+
14+
jobs:
15+
build-deploy-docs:
16+
uses: seedcase-project/.github/.github/workflows/deploy-docs.yml@main
17+
secrets:
18+
netlify-token: ${{ secrets.NETLIFY_AUTH_TOKEN }}

0 commit comments

Comments
 (0)