Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
build: harden main.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
  • Loading branch information
sashashura committed Dec 8, 2022
commit 9a70ca914b296db3ab89b6d4a7898fb6b9316ccc
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches: [ master ]

permissions:
contents: read # to fetch code (actions/checkout)

jobs:
test:
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
Expand Down