Skip to content
This repository was archived by the owner on Jul 4, 2026. It is now read-only.

Commit fb43fec

Browse files
committed
Center badge in README, add CI workflow, and add PR template
1 parent b3b3895 commit fb43fec

3 files changed

Lines changed: 101 additions & 2 deletions

File tree

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
## Description
2+
3+
A clear and concise description of what this PR does and why.
4+
5+
Closes #<!-- issue number -->
6+
7+
---
8+
9+
## Type of Change
10+
11+
- [ ] Bug fix (non-breaking change which fixes an issue)
12+
- [ ] New feature (non-breaking change which adds functionality)
13+
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
14+
- [ ] Refactor (no functional changes, no API changes)
15+
- [ ] Documentation update
16+
- [ ] CI/CD or build configuration change
17+
18+
---
19+
20+
## How Has This Been Tested?
21+
22+
Describe the tests that you ran to verify your changes. Provide instructions so reviewers can reproduce.
23+
24+
- [ ] Unit tests
25+
- [ ] Integration tests
26+
- [ ] Manual testing
27+
28+
**Test environment:**
29+
- OS: [e.g. Windows 11]
30+
- curl version: [e.g. 8.x]
31+
32+
---
33+
34+
## Screenshots (if applicable)
35+
36+
| Before | After |
37+
|--------|-------|
38+
| | |
39+
40+
---
41+
42+
## Checklist
43+
44+
- [ ] My code follows the style guidelines of this project
45+
- [ ] I have performed a self-review of my code
46+
- [ ] I have commented my code where necessary (non-obvious logic only)
47+
- [ ] I have updated the documentation accordingly
48+
- [ ] My changes generate no new warnings or errors
49+
- [ ] I have added tests that prove my fix/feature works
50+
- [ ] All new and existing tests pass locally
51+
- [ ] Any dependent changes have been merged and published
52+
53+
---
54+
55+
## Additional Notes
56+
57+
Add any other context, tradeoffs, or considerations for reviewers here.

.github/workflows/ci.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
validate:
11+
name: Validate scripts
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Check curl is available
19+
run: curl --version
20+
21+
- name: Validate .bat file format
22+
run: |
23+
for f in *.bat; do
24+
content=$(cat "$f")
25+
if ! echo "$content" | grep -qE '^curl ascii\.live/.+$'; then
26+
echo "FAIL: $f does not match expected format 'curl ascii.live/<name>'"
27+
exit 1
28+
fi
29+
echo "OK: $f"
30+
done
31+
32+
- name: Check endpoints are reachable
33+
run: |
34+
for f in *.bat; do
35+
endpoint=$(cat "$f" | grep -oE 'ascii\.live/[^ ]+')
36+
echo "Checking https://$endpoint ..."
37+
curl --head --silent --max-time 10 --fail "https://$endpoint" || {
38+
echo "FAIL: https://$endpoint is not reachable"
39+
exit 1
40+
}
41+
echo "OK: https://$endpoint"
42+
done

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
A collection of Windows Batch scripts that stream ASCII art animations in your terminal using the Windows built-in `curl` command.
66

7-
</div>
8-
97
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
108

9+
</div>
10+
1111
## Requirements
1212

1313
- Windows 10 version 1803 or later (curl is included by default)

0 commit comments

Comments
 (0)