Skip to content

Commit eed2b4b

Browse files
authored
chore: :brick: setup basic infrastructure files (#10)
## Description This PR adds some basic Git repo files to help with development and management. <!-- Please delete as appropriate: --> This PR needs a quick review.
1 parent a64c2de commit eed2b4b

7 files changed

+107
-0
lines changed

.editorconfig

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

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# All members on Developers team get added to review PRs
2+
* @seedcase-project/developers
3+

.github/dependabot.yml

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

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
## Description
2+
3+
This PR DESCRIBE CHANGES.
4+
5+
Closes #
6+
7+
<!-- Select quick/in-depth as necessary -->
8+
This PR needs a quick/an in-depth review.
9+
10+
## Checklist
11+
12+
- [ ] Ran `just run-all`

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

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

.gitignore

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Development files and folders
2+
_ignore
3+
4+
# Temporary files
5+
*.tmp
6+
7+
# Python specific content
8+
venv
9+
__pycache__/
10+
*.py[cod]
11+
12+
# MacOS
13+
.DS_Store
14+

justfile

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
@_default:
22
just --list --unsorted
33

4+
# Run all recipes
5+
run-all: install build-readme
6+
47
# Install all scripts in `bin/` to `~/.local/bin/`
58
install:
69
mkdir -p ~/.local/bin

0 commit comments

Comments
 (0)