Skip to content

Commit

Permalink
build: harden build.yml permissions (#2274)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex <aleksandrosansan@gmail.com>

Signed-off-by: Alex <aleksandrosansan@gmail.com>
  • Loading branch information
sashashura committed Dec 8, 2022
1 parent 66d934b commit c33e03b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Expand Up @@ -2,6 +2,9 @@ name: Build

on: [push, pull_request]

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

jobs:
build:
name: "Build on JDK ${{ matrix.java }}"
Expand Down

0 comments on commit c33e03b

Please sign in to comment.