GitHub Workflows security hardening (#5598)

* build: harden frontend-tests.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>

* build: harden frontend-admin-tests.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
pull/5719/head
Alex 2023-06-20 14:27:03 +02:00 committed by GitHub
parent 7656c6b9f1
commit efe32ac333
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -3,6 +3,9 @@ name: "Frontend admin tests powered by Sauce Labs"
on: [push] on: [push]
permissions:
contents: read # to fetch code (actions/checkout)
jobs: jobs:
withplugins: withplugins:
name: with plugins name: with plugins

View File

@ -3,6 +3,9 @@ name: "Frontend tests powered by Sauce Labs"
on: [push] on: [push]
permissions:
contents: read # to fetch code (actions/checkout)
jobs: jobs:
withoutplugins: withoutplugins:
name: without plugins name: without plugins