mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-08-04 02:13:20 -05:00
Restrict permissions in GitHub workflows (#10790)
This commit is contained in:
@@ -2,6 +2,9 @@ name: CI
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
ubuntu:
|
||||
runs-on: ubuntu-18.04
|
||||
|
||||
@@ -2,6 +2,9 @@ name: CI (node.js)
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user