Skip to content

Commit 2d41579

Browse files
authored
Merge pull request #1307 from G-Rath/update-actions
ci: update `actions/checkout` and disable persisted git credentials
2 parents 230e3f6 + 24627a2 commit 2d41579

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/rubocop.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ jobs:
1212
ruby: ['2.7', '3.0']
1313

1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v4
16+
with:
17+
persist-credentials: false
1618
- uses: ruby/setup-ruby@v1
1719
with:
1820
ruby-version: ${{ matrix.ruby }}

.github/workflows/ruby.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ jobs:
1717
ruby: [2.7]
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
21+
with:
22+
persist-credentials: false
2123
- uses: actions/setup-node@v3
2224
- name: Save root node_modules to cache
2325
uses: actions/cache@v3
@@ -66,7 +68,9 @@ jobs:
6668
# having to do with automatic kwarg splatting
6769
MT_KWARGS_HACK: 1
6870
steps:
69-
- uses: actions/checkout@v3
71+
- uses: actions/checkout@v4
72+
with:
73+
persist-credentials: false
7074
- uses: actions/setup-node@v3
7175
- run: npm -g install yalc
7276
- run: yalc publish

0 commit comments

Comments
 (0)