Restrict CI workflow permissions to readonly contents
This commit is contained in:
parent
13dfdae6ab
commit
d3d0381d2c
13
.github/workflows/ci.yaml
vendored
13
.github/workflows/ci.yaml
vendored
@ -1,11 +1,14 @@
|
|||||||
name: ci
|
name: ci
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "master" ]
|
branches: [ "master" ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "master" ]
|
branches: [ "master" ]
|
||||||
workflow_call:
|
workflow_call:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
Loading…
Reference in New Issue
Block a user