From 2f8ce0570f8ca5a28c0bceaa63ac2e76906770f3 Mon Sep 17 00:00:00 2001 From: Anastasiia Pnevskaia Date: Tue, 18 Jun 2024 14:43:01 +0200 Subject: [PATCH] Set read-all permisions in github workflows. --- .github/workflows/bandit.yml | 2 ++ .github/workflows/precommit.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/bandit.yml b/.github/workflows/bandit.yml index 7cbc1a4..b4f85dc 100644 --- a/.github/workflows/bandit.yml +++ b/.github/workflows/bandit.yml @@ -20,6 +20,8 @@ on: schedule: - cron: '31 21 * * 6' +permissions: read-all + jobs: bandit: permissions: diff --git a/.github/workflows/precommit.yml b/.github/workflows/precommit.yml index 095ca9c..f912df4 100644 --- a/.github/workflows/precommit.yml +++ b/.github/workflows/precommit.yml @@ -1,6 +1,8 @@ name: Precommit on: [push, pull_request] +permissions: read-all + jobs: Run_UT: runs-on: ubuntu-20.04