Skip to content

Conversation

@EliahKagan
Copy link
Owner

This also tests the job by manually trying out several ways it should fail to make sure it does.

The purpose of this fork-internal PR is to squash this refinement of check-no-persist-credentials, together with the commits that temporarily break and then unbreak things to test that check, into one commit while still preserving a record of the individual commits.

@EliahKagan EliahKagan merged commit c228812 into run-ci/no-persist-credentials Sep 21, 2025
24 checks passed
@EliahKagan EliahKagan deleted the run-ci/no-persist-credentials-next branch September 21, 2025 23:37
EliahKagan added a commit that referenced this pull request Sep 22, 2025
This also tests the job by manually trying out several ways it
should fail to make sure it does, but I squashed those out. The can
be seen at #105 and are summarized as follows:

* Test that we always have `actions/checkout` not persist credentials

* Check that we catch `actions/checkout` with no `with`

* Improve `check-no-persist-credentials` output and maintainability

* Check that we catch checkout `with` without `persist-credentials`

* Check that we catch `persist-credentials` not set to boolean false

* Having tested the new check, restore `persist-credentials: false`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants