diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index d7482ec3f7..bfa19cc1a8 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -1,6 +1,9 @@ name: Static Analysis on: [push, pull_request] +permissions: + contents: read # to fetch code (actions/checkout) + concurrency: group: ${{format('{0}:{1}:{2}', github.repository, github.ref, github.workflow)}} cancel-in-progress: true diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index c6b163cac3..b5164b143b 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -1,6 +1,9 @@ name: easyblocks unit tests on: [push, pull_request] +permissions: + contents: read # to fetch code (actions/checkout) + concurrency: group: ${{format('{0}:{1}:{2}', github.repository, github.ref, github.workflow)}} cancel-in-progress: true