mirror of
https://github.com/sourcegraph/jsonrpc2.git
synced 2026-07-03 07:43:40 +02:00
ci: set minimal permissions to GitHub workflows
Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>
This commit is contained in:
parent
b9c1fbdb96
commit
33f3e81580
2 changed files with 8 additions and 0 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -4,6 +4,10 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
strategy:
|
strategy:
|
||||||
|
|
|
||||||
4
.github/workflows/lsif.yml
vendored
4
.github/workflows/lsif.yml
vendored
|
|
@ -1,6 +1,10 @@
|
||||||
name: LSIF
|
name: LSIF
|
||||||
on:
|
on:
|
||||||
- push
|
- push
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lsif-go:
|
lsif-go:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue