GH actions: limit GitHub token visibility

Token should be visible to only the code that actually needs it.

Signed-off-by: Jussi Kukkonen <jkukkonen@vmware.com>
This commit is contained in:
Jussi Kukkonen 2021-11-01 09:47:50 +02:00
parent 589ed9e0d4
commit 15e84dfb2e

View file

@ -95,11 +95,12 @@ jobs:
runs-on: ubuntu-latest
container: python:3-slim
steps:
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade coveralls
- name: Finalize publishing on coveralls.io
continue-on-error: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade coveralls
coveralls --finish
run: coveralls --finish