Skip to content

ci: git-crypt unlock on trusted runs - #122

Merged
ConnorNelson merged 29 commits into
mainfrom
ci-test-on-modified-tests-v1
Feb 16, 2026
Merged

ci: git-crypt unlock on trusted runs#122
ConnorNelson merged 29 commits into
mainfrom
ci-test-on-modified-tests-v1

Conversation

@ConnorNelson

@ConnorNelson ConnorNelson commented Feb 13, 2026

Copy link
Copy Markdown
Member

PR #83 changed many test cases, but CI can skip running them because tests_private/ is encrypted and we remove encrypted files on untrusted runs.

This PR adds a trust gate so CI can unlock git-crypt (and run private tests) only on trusted events, while still ensuring encrypted files are removed on untrusted PRs. It also runs pwnshop test --silent-failures in CI to avoid printing failing test output into the job log.

@ConnorNelson ConnorNelson changed the title ci: test on modified tests ci: unlock tests_private on trusted runs Feb 16, 2026
@github-actions github-actions Bot added the dangerous Changes critical or security-sensitive files label Feb 16, 2026
@ConnorNelson ConnorNelson changed the title ci: unlock tests_private on trusted runs ci: git-crypt unlock on trusted runs Feb 16, 2026
@ConnorNelson
ConnorNelson merged commit cdb4403 into main Feb 16, 2026
5 checks passed
@ConnorNelson
ConnorNelson deleted the ci-test-on-modified-tests-v1 branch February 16, 2026 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dangerous Changes critical or security-sensitive files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant