Skip to content

Commit 6affcf7

Browse files
nos1dot618claude
andcommitted
chore: add dependabot and issue and pull request templates
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 parent cc24943 commit 6affcf7

5 files changed

Lines changed: 97 additions & 0 deletions

File tree

‎.github/ISSUE_TEMPLATE/config.yml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Problem with the language or lbd
4+
url: https://github.com/lambda-discipline/lambda-discipline/issues/new/choose
5+
about: Bugs and proposals for the language itself belong in the language repository.
6+
- name: Report a security vulnerability
7+
url: https://github.com/lambda-discipline/lambda-discipline.github.io/security/advisories/new
8+
about: Please report vulnerabilities privately, not as public issues.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Problem on the site
2+
description: A broken page or link, a mistake in the docs, or something that looks wrong.
3+
labels: [bug]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for reporting! Problems with the language or `lbd` itself belong in the
9+
[language repository](https://github.com/lambda-discipline/lambda-discipline/issues).
10+
- type: input
11+
id: url
12+
attributes:
13+
label: Page
14+
placeholder: https://lambda-discipline.github.io/reference/#types
15+
validations:
16+
required: true
17+
- type: dropdown
18+
id: kind
19+
attributes:
20+
label: Kind of problem
21+
options:
22+
- Broken link
23+
- Wrong or unclear documentation
24+
- Code sample doesn't work
25+
- Layout or display
26+
- Other
27+
validations:
28+
required: true
29+
- type: textarea
30+
id: problem
31+
attributes:
32+
label: What's wrong
33+
description: What you saw, and what you expected instead.
34+
validations:
35+
required: true
36+
- type: input
37+
id: browser
38+
attributes:
39+
label: Browser and device
40+
description: Only needed for layout problems.
41+
placeholder: Firefox 140 on Android
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Suggestion
2+
description: A new page, example, explanation or design improvement.
3+
labels: [enhancement]
4+
body:
5+
- type: textarea
6+
id: idea
7+
attributes:
8+
label: Idea
9+
description: What should the site have, and who would it help?
10+
validations:
11+
required: true
12+
- type: textarea
13+
id: details
14+
attributes:
15+
label: Details
16+
description: Draft text, an example program, a sketch, or sites that do it well.

‎.github/dependabot.yml‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: pip
4+
directory: /
5+
schedule:
6+
interval: weekly
7+
groups:
8+
# Patch and minor bumps arrive as one PR; major versions get their own.
9+
pip-minor:
10+
update-types: [minor, patch]
11+
commit-message:
12+
prefix: deps
13+
14+
- package-ecosystem: github-actions
15+
directory: /
16+
schedule:
17+
interval: weekly
18+
groups:
19+
actions:
20+
patterns: ["*"]
21+
commit-message:
22+
prefix: ci

‎.github/pull_request_template.md‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
## Summary
2+
3+
<!-- What changes on the site, and why. Link the issue: "Closes #123". -->
4+
5+
## Checklist
6+
7+
- [ ] `black --check .`, `ruff check .` and `mypy` pass
8+
- [ ] `python build.py` succeeds and `lychee --offline --root-dir "$PWD/_site" _site` finds no broken links
9+
- [ ] I looked at the changed pages in light and dark mode, and at phone width
10+
- [ ] Code samples run with `lbd run`, and their comments show what they really print

0 commit comments

Comments
 (0)