Skip to content

Commit 4fb66fa

Browse files
committed
Coveralls token check
1 parent d02f98e commit 4fb66fa

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,17 @@ env:
1111
OSO_DEVELOPER_API_KEY: ${{ secrets.OSO_DEVELOPER_API_KEY }}
1212

1313
jobs:
14+
check-token:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Check if COVERALLS_REPO_TOKEN is set
18+
run: |
19+
if [ -z "${{ secrets.COVERALLS_REPO_TOKEN }}" ]; then
20+
echo "COVERALLS_REPO_TOKEN is not set."
21+
exit 1
22+
else
23+
echo "COVERALLS_REPO_TOKEN is set."
24+
fi
1425
lint:
1526
runs-on: ubuntu-latest
1627
strategy:
@@ -403,6 +414,5 @@ jobs:
403414
- name: Coveralls Finished
404415
uses: coverallsapp/github-action@v2
405416
with:
406-
github-token: ${{ secrets.GITHUB_TOKEN }}
407417
parallel-finished: true
408418
carryforward: 'lint,ethernaut-common,ethernaut-oso,ethernaut-util,ethernaut-util-ui,ethernaut-ui,ethernaut-interact,ethernaut-interact-ui,ethernaut-challenges,ethernaut-ai,ethernaut-ai-ui,ethernaut-network,ethernaut-network-ui,ethernaut-wallet,ethernaut-wallet-ui,ethernaut-cli'

0 commit comments

Comments
 (0)