Skip to content

Commit 37d8155

Browse files
author
Vitaly Galaichuk
committed
chore: add access token to ci scripts for private repos fetching in deps
1 parent 37a9baa commit 37d8155

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
- uses: actions/checkout@v3
1515
with:
1616
submodules: recursive
17+
token: ${{ secrets.CI_PAT }}
1718
- name: Install Foundry
1819
uses: onbjerg/foundry-toolchain@v1
1920
with:
@@ -26,6 +27,8 @@ jobs:
2627
- uses: actions/checkout@v3
2728
with:
2829
submodules: recursive
30+
token: ${{ secrets.CI_PAT }}
31+
2932
- name: Install Foundry
3033
uses: foundry-rs/foundry-toolchain@v1
3134
with:

.github/workflows/Slither.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,18 @@ name: Slither Analysis
33
# temporarily disabled because of the action bug
44
on:
55
push:
6-
branches: [ master ]
6+
branches: [master]
77
pull_request:
8-
branches: [ master ]
8+
branches: [master]
99

1010
jobs:
1111
analyze-core:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v3
15+
with:
16+
submodules: recursive
17+
token: ${{ secrets.CI_PAT }}
1518

1619
- name: Install Foundry
1720
uses: onbjerg/foundry-toolchain@v1
@@ -20,14 +23,14 @@ jobs:
2023

2124
- name: Install dependencies
2225
run: forge install
23-
26+
2427
- name: Run Slither core
2528
uses: crytic/[email protected]
2629
continue-on-error: true
2730
id: slither
2831
with:
29-
target: "src/core"
30-
slither-config: "slither.config.json"
32+
target: 'src/core'
33+
slither-config: 'slither.config.json'
3134
solc-version: 0.8.17
3235
sarif: results.sarif
3336
fail-on: none

0 commit comments

Comments
 (0)