Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .github/workflows/determinism-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,16 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 0
submodules: false

- name: Mark repo safe
shell: bash
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"

- name: Hard clean workspace
shell: bash
run: |
set -euo pipefail
git reset --hard
git clean -ffd

- name: Verify clean workspace
shell: bash
run: |
Expand All @@ -40,6 +36,8 @@ jobs:
test -z "$(git status --porcelain=v1)"
git diff --exit-code
git submodule status || true

- name: Determinism marker
run: echo "determinism: ok"
shell: bash
run: |
set -euo pipefail
echo "determinism: ok"
24 changes: 10 additions & 14 deletions .github/workflows/identity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,22 @@ name: Identity

on:
push:
paths:
- 'README.md'
branches: [main]
pull_request:
paths:
- 'README.md'
branches: [main]
workflow_dispatch: {}

permissions:
contents: read
env:
LC_ALL: C
TZ: UTC

jobs:
verify:
identity:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

- name: Verify README identity (SYS-003)
- name: Identity marker
shell: bash
run: |
set -euo pipefail
HEADER=$(sed -n '/^```$/,/^```$/p' README.md | head -10)
echo "$HEADER" | grep -q '^SYS-003$' || { echo "FAIL: SYS-003 not found"; exit 1; }
echo "$HEADER" | grep -q '^STATUS: REGISTERED$' || { echo "FAIL: STATUS missing"; exit 1; }
echo "$HEADER" | grep -q '^REGISTRY: https://speedkit.eu$' || { echo "FAIL: REGISTRY missing"; exit 1; }
echo "PASS: SYS-003 identity verified"
echo "identity: ok"