24 lines
736 B
YAML
24 lines
736 B
YAML
name: Verify PR
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
Check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Verify domain.txt
|
|
run: |
|
|
./hack/verify-fmt.sh domain.txt || { echo "Please run './hack/fmt.sh domain.txt'"; exit 1; }
|
|
- name: Verify mirror.txt
|
|
run: |
|
|
./hack/verify-fmt.sh mirror.txt || { echo "Please run './hack/fmt.sh mirror.txt'"; exit 1; }
|
|
- name: Verify docker prefix
|
|
run: |
|
|
./hack/verify-docker-prefix.sh mirror.txt
|
|
- name: Verify Image Exists
|
|
run: |
|
|
./hack/verify-image.sh mirror.txt https://github.com/${{ github.repository }}/pull/${{ github.event.pull_request.number }}.patch
|