Skip to content

Commit

Permalink
gh/actions: make all cloned repo read-only (#3436)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov authored Dec 20, 2021
1 parent 67e14cf commit 671e68b
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@v2
Expand Down Expand Up @@ -37,6 +39,8 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
persist-credentials: false

- name: Check if commit contains files that should be ignored
run: |
Expand All @@ -54,6 +58,8 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@v2
Expand All @@ -76,6 +82,8 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@v2
Expand All @@ -96,6 +104,8 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@v2
Expand All @@ -115,6 +125,8 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@v2
Expand Down Expand Up @@ -144,6 +156,8 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
persist-credentials: false

- name: Setup Node.js v${{ matrix.node_version_to_setup }}
uses: actions/setup-node@v2
Expand All @@ -164,6 +178,8 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
persist-credentials: false

- name: Deepen cloned repo
env:
Expand All @@ -189,6 +205,8 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
persist-credentials: false

- name: Deepen cloned repo
env:
Expand Down Expand Up @@ -225,6 +243,8 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@v2
Expand Down Expand Up @@ -255,6 +275,8 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@v2
Expand Down

0 comments on commit 671e68b

Please sign in to comment.