File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ # KERNEL-ПРОТОКОЛ: V-АРХІВІСТ
2+ # Ця дія виконує Гіпер-верифікацію (Hyper-Verification) шляхом
3+ # підписання Pull Request'у як SLSA-атестата.
4+ name : V-Archivist SLSA Attestation
5+
6+ on :
7+ pull_request :
8+ branches : [ main ]
9+ types : [ closed ] # Активується лише після закриття PR, щоб підписати фінальний код
10+
11+ jobs :
12+ sign_pr :
13+ if : github.event.pull_request.merged == true # Запускаємо тільки, якщо PR був успішно об'єднаний
14+ runs-on : ubuntu-latest
15+ permissions :
16+ contents : write # Потрібно для створення нового коміту з атестатом
17+ id-token : write # Потрібно для підписання SLSA
18+
19+ steps :
20+ - uses : actions/checkout@v4
21+
22+ # Використовуємо інструмент SLSA для підписання
23+ - name : 1. Generate SLSA Provenance
24+ uses :
slsa-framework/slsa-github-action/[email protected] 25+ with :
26+ # Підписуємо код після всіх перевірок
27+ git-tag : ${{ github.event.pull_request.merge_commit_sha }}
28+
29+ - name : 2. V-Archivist Hyper-Verification Check
30+ run : |
31+ echo "V-Archivist: SLSA Provenance generation initiated."
32+
33+ # Це плейсхолдер для подальшої логіки перевірки
34+ # V-Архівіст успішно завершує роботу, якщо SLSA-атестат створено.
35+ echo "V-Archivist: Hyper-Verification PASSED."
You can’t perform that action at this time.
0 commit comments