Explicity set github actions permissions to read only

This commit is contained in:
Kovid Goyal
2022-09-24 07:39:07 +05:30
parent 8466f81072
commit 8b5c9e9047
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -1,5 +1,7 @@
name: CI
on: [push, pull_request]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
test:
+2 -1
View File
@@ -2,7 +2,8 @@ name: Transifex
on:
push:
branches: [master, ]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
Push-To-Transifex: