diff options
author | Landon Grindheim <[email protected]> | 2025-06-18 15:06:17 -0400 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2025-06-19 10:23:36 +0900 |
commit | 471da0f0bd8adcff4a32d51fcf5fe8828f05d6b0 () | |
tree | ac8cd446788901bad51d388620041b21c64e2cf2 /lib | |
parent | 6d8460e0a04f50665ce817cf87a5e7d1b542dc8d (diff) |
[rubygems/rubygems] Use `persist-credentials: false` in template
`actions/checkout` defaults this value to `true`, causing credentials to be written to `.git/config`. By setting it to `false`, we lessen the likelihood of secrets being written to disk. https://.com/rubygems/rubygems/commit/a751d36456
-rw-r--r-- | lib/bundler/templates/newgem//workflows/main.yml.tt | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -18,6 +18,8 @@ jobs: steps: - uses: actions/checkout@v4 <%- if config[:ext] == 'rust' -%> - name: Set up Ruby & Rust uses: oxidize-rb/actions/setup-ruby-and-rust@v1 |