Skip to content

Commit e55cba3

Browse files
committed
Improve GithubActions security
1 parent 6e7de10 commit e55cba3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
name: CI
33

4+
permissions: {}
5+
46
on:
57
push:
68
branches:
@@ -20,6 +22,8 @@ jobs:
2022
steps:
2123
- name: Checkout
2224
uses: actions/checkout@v5
25+
with:
26+
persist-credentials: false
2327

2428
- name: Setup Ruby
2529
uses: ruby/setup-ruby@v1
@@ -50,6 +54,8 @@ jobs:
5054
steps:
5155
- name: Checkout
5256
uses: actions/checkout@v5
57+
with:
58+
persist-credentials: false
5359

5460
- name: Setup Ruby
5561
uses: ruby/setup-ruby@v1

0 commit comments

Comments
 (0)