build: harden main.yml permissions

Signed-off-by: Alex <aleksandrosansan@gmail.com>
This commit is contained in:
Alex 2022-12-08 20:13:56 +02:00
parent a027e3c1e0
commit 492f7479e9

View file

@ -2,6 +2,10 @@ name: CI
on:
- push
- pull_request
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
test:
name: Node.js ${{ matrix.node-version }}