forked from phoedos/pmd
build: harden build.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
This commit is contained in:
parent
cb9a660d23
commit
600561e44c
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -14,6 +14,9 @@ on:
|
|||||||
- cron: '0 4 1 * *'
|
- cron: '0 4 1 * *'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read # to fetch code (actions/checkout)
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user