# evidence saved with every release
- name: Export branch protection
run: |
gh api "repos/$GITHUB_REPOSITORY/branches/main/protection" \
> evidence/branch-protection.json
- name: Archive under the release tag
run: cp -r evidence "archive/$GITHUB_REF_NAME"Material for the auditor builds itself, not the night before the audit.