Auto-validated PR β Auto-merge β Auto-deploy Website
This repository demonstrates how GitHub Runners and GitHub Actions work together to:
- Validate Pull Requests automatically
- Auto-merge valid PRs
- Auto-deploy a website using GitHub Pages
Anyone can:
- Fork this repository
- Add their name to the website
- Open a Pull Request
- The name must be written in ALL CAPITAL LETTERS
- CI fails
- PR is blocked
- PR is auto-merged
- Website is updated automatically
.
βββ site/
β βββ index.html # Website
β βββ names.txt # List of accepted names
βββ scripts/
β βββ check_caps.sh # Validation script
βββ .github/
βββ workflows/
βββ validate.yml # PR validation workflow
βββ deploy.yml # GitHub Pages deployment