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
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
pull_request:
|
||||
branches: [ "master" ]
|
||||
workflow_call:
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
pull_request:
|
||||
branches: [ "master" ]
|
||||
workflow_call:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
Loading…
Reference in New Issue
Block a user