Commit 741cb6b
committed
Refine
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 EliahKagan#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`check-no-persist-credentials CI job1 parent a235ac8 commit 741cb6b
1 file changed
+28
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
561 | 561 | | |
562 | 562 | | |
563 | 563 | | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
564 | 591 | | |
565 | 592 | | |
566 | 593 | | |
| |||
615 | 642 | | |
616 | 643 | | |
617 | 644 | | |
| 645 | + | |
618 | 646 | | |
619 | 647 | | |
620 | 648 | | |
| |||
0 commit comments