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
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,7 @@
name: CI
on: [push, pull_request]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
test:

View File

@ -2,7 +2,8 @@ name: Transifex
on:
push:
branches: [master, ]
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
Push-To-Transifex: