| author | Alan Dipert
<alan@dipert.org> 2026-09-07 04:00:46 UTC |
| committer | Alan Dipert
<alan@dipert.org> 2026-09-07 04:00:46 UTC |
| parent | 1ad24ef183ae5c246a7f58eb9d893b26d86ac95e |
| .forgejo/workflows/ci.yml | +22 | -0 |
diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml new file mode 100644 index 0000000..10d5c23 --- /dev/null +++ b/.forgejo/workflows/ci.yml @@ -0,0 +1,22 @@ +name: CI +on: + push: + pull_request: +jobs: + verify: + runs-on: ubuntu-latest + steps: + - name: Checkout + env: + FORGEJO_TOKEN: ${{ github.token }} + run: | + set -eu + git init . + git remote add origin "https://minerva/forgejo/${{ github.repository }}.git" + auth=$(printf 'x-access-token:%s' "$FORGEJO_TOKEN" | base64 -w0) + git -c http.extraheader="AUTHORIZATION: basic $auth" fetch --depth=1 origin "${{ github.sha }}" + git checkout --detach FETCH_HEAD + - name: Repository sanity checks + run: | + test -s README.md || test -s README.org || true + git status --short