Skip to content

Commit

Permalink
build: harden build.yml permissions (google#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>
(cherry picked from commit c33e03b)
  • Loading branch information
sashashura authored and tibor-universe committed Jan 18, 2023
1 parent fef6dab commit cdc61af
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 cdc61af

Please sign in to comment.