Skip to content

Commit b9bc5e1

Browse files
committed
chore: add issue/PR templates, dependabot, CI, license, contributors
- YAML form issue templates (bug report with script/OS dropdowns, feature request) - PR template with script checklist - Dependabot for GitHub Actions - ShellCheck CI workflow - MIT LICENSE - Contributors and disclaimer sections in README
1 parent 7fa8db7 commit b9bc5e1

File tree

8 files changed

+180
-0
lines changed

8 files changed

+180
-0
lines changed
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: Bug Report
2+
description: Report a bug with a script
3+
labels: [bug]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
**Fill out all required fields.** Incomplete reports will be closed.
9+
- type: dropdown
10+
id: script
11+
attributes:
12+
label: Script
13+
options:
14+
- nextdns_sync.py
15+
- docker_aliases.sh
16+
- tmux_session_picker.sh
17+
- .bash_aliases
18+
- Other
19+
validations:
20+
required: true
21+
- type: dropdown
22+
id: os
23+
attributes:
24+
label: Operating system
25+
options:
26+
- Linux (Debian/Ubuntu)
27+
- Linux (RHEL/Fedora)
28+
- Linux (other)
29+
- macOS
30+
validations:
31+
required: true
32+
- type: input
33+
id: shell-version
34+
attributes:
35+
label: Shell version
36+
description: "Output of: bash --version | head -1 (or zsh --version)"
37+
placeholder: "GNU bash, version 5.2.15(1)-release"
38+
validations:
39+
required: true
40+
- type: textarea
41+
id: description
42+
attributes:
43+
label: What happened?
44+
validations:
45+
required: true
46+
- type: textarea
47+
id: expected
48+
attributes:
49+
label: Expected behavior
50+
validations:
51+
required: true
52+
- type: textarea
53+
id: logs
54+
attributes:
55+
label: Error output
56+
description: Paste the full error output.
57+
render: text
58+
validations:
59+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Feature Request
2+
description: Suggest a new script or improvement
3+
labels: [enhancement]
4+
body:
5+
- type: dropdown
6+
id: category
7+
attributes:
8+
label: Category
9+
options:
10+
- New script
11+
- Enhancement to existing script
12+
- Documentation
13+
- Other
14+
validations:
15+
required: true
16+
- type: dropdown
17+
id: script
18+
attributes:
19+
label: Related script
20+
options:
21+
- nextdns_sync.py
22+
- docker_aliases.sh
23+
- tmux_session_picker.sh
24+
- .bash_aliases
25+
- Other / New
26+
- N/A
27+
validations:
28+
required: true
29+
- type: textarea
30+
id: description
31+
attributes:
32+
label: What would you like?
33+
validations:
34+
required: true
35+
- type: textarea
36+
id: use-case
37+
attributes:
38+
label: Why is this needed?
39+
validations:
40+
required: true

.github/dependabot.yml

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

.github/pull_request_template.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
## Summary
2+
3+
<!-- What does this PR do? -->
4+
5+
## Script(s) affected
6+
7+
- [ ] nextdns_sync.py
8+
- [ ] docker_aliases.sh
9+
- [ ] tmux_session_picker.sh
10+
- [ ] .bash_aliases
11+
- [ ] Other: <!-- specify -->
12+
13+
## Checklist
14+
15+
- [ ] `shellcheck` passes (for .sh files)
16+
- [ ] Tested on target OS
17+
- [ ] No secrets in diff
18+
- [ ] README updated (if new script or changed behavior)

.github/workflows/shellcheck.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: ShellCheck
2+
3+
on:
4+
push:
5+
paths:
6+
- "**/*.sh"
7+
pull_request:
8+
paths:
9+
- "**/*.sh"
10+
11+
jobs:
12+
shellcheck:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Run ShellCheck
17+
uses: ludeeus/action-shellcheck@2.0.0
18+
with:
19+
severity: warning

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2026 baker-scripts, bakerboy448, and contributors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,17 @@ Utility scripts for selfhosted infrastructure management.
88
- `.bash_aliases` — Shell aliases for common operations
99
- `docker_aliases.sh` — Docker Compose wrapper with 1Password secret resolution, fzf integration, Dozzle group management, and tab completion
1010
- `tmux_session_picker.sh` — Auto-creates tmux sessions on SSH login with a table showing running processes and last access time
11+
12+
## Contributors
13+
14+
<a href="https://github.com/baker-scripts/Scripts/graphs/contributors">
15+
<img src="https://contrib.rocks/image?repo=baker-scripts/Scripts" />
16+
</a>
17+
18+
## Disclaimer
19+
20+
These scripts are provided as-is with no warranty. Always review scripts before running them on your system and test in a non-production environment first. The authors are not responsible for any issues resulting from their use.
21+
22+
## License
23+
24+
[MIT](LICENSE)

0 commit comments

Comments
 (0)