Skip to content

Commit ec5c7d0

Browse files
Merge pull request #89 from rubygems/use-persist-credentials-false-with-actions-checkout
Opt out of persisting credentials
2 parents 405f6c5 + e69509b commit ec5c7d0

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/push_gem.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
egress-policy: audit
2626

2727
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
28+
with:
29+
persist-credentials: false
2830
- name: Set up Ruby
2931
uses: ruby/setup-ruby@cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49 # v1.176.0
3032
with:

.github/workflows/ubuntu.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
ruby: [ 3.1, 3.2, 3.3, 3.4, head ]
1717
steps:
1818
- uses: actions/checkout@v4
19+
with:
20+
persist-credentials: false
1921
- name: Setup ruby
2022
uses: ruby/setup-ruby@v1
2123
with:

0 commit comments

Comments
 (0)