Skip to content

Commit

Permalink
common: permission test
Browse files Browse the repository at this point in the history
Signed-off-by: Tomasz Gromadzki <[email protected]>
  • Loading branch information
grom72 committed Sep 23, 2024
1 parent 60833b9 commit 2818944
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 32 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docker_rebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ env:
WORKDIR: utils/docker
PUSH_IMAGE: 1

permissions:
contents: read
permissions: {}

jobs:
image:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ on:
workflow_dispatch:
pull_request:

permissions:
contents: read
permissions: {}

jobs:
src_checkers:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ env:
PMDK_CXX: g++
SRC_CHECKERS: 0

permissions:
contents: read
permissions: {}

jobs:
in-tree:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/pmem_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ on:
type: string
default: master

permissions:
contents: read
permissions: {}

jobs:
prep_runtime:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/pmem_ras.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ on:
# run this job every 8 hours
- cron: '0 */8 * * *'

permissions:
contents: read
permissions: {}

jobs:
linux:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/pmem_test_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ on:
type: number
default: 360 # The jobs.<job_id>.timeout-minutes default.

permissions:
contents: read
permissions: {}

jobs:
job:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/pmem_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ on:
# run this job at 18:00 UTC every day
- cron: '0 18 * * *'

permissions:
contents: read
permissions: {}

jobs:
# Test the default build with the basic test suite.
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/scan_bandit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ env:
PMREORDER: src/tools/pmreorder/*.py
CALL_STACKS_ANALYSIS: utils/call_stacks_analysis/*.py

permissions:
contents: read
permissions: {}

jobs:
bandit:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/scan_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ env:
TEST_BUILD: debug
FAULT_INJECTION: 1

permissions:
contents: read
permissions: {}

jobs:
linux:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/scan_coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ env:
VALGRIND: 1
COVERITY: 1

permissions:
contents: read
permissions: {}

jobs:
linux:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/scan_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ name: Documentation
on:
workflow_call:

permissions:
contents: read
permissions: {}

jobs:
linux:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/scan_log_calls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ on:
workflow_dispatch:
workflow_call:

permissions:
contents: read
permissions: {}

jobs:
log-calls:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/scan_stack_usage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ on:
env:
CALL_STACKS_TOOLS_PATH: pmdk/utils/call_stacks_analysis

permissions:
contents: read
permissions: {}

jobs:
stack-usage:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/scan_ubsan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ env:
UBSAN: 1
FAULT_INJECTION: 1

permissions:
contents: read
permissions: {}

jobs:
linux:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/scans.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ on:
# run this job at 00:00 UTC every day
- cron: '0 0 * * *'

permissions:
contents: read
permissions: {}

jobs:
call-bandit:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ env:
GITHUB_REPO: pmem/pmdk
DOCKER_REPO: ghcr.io/pmem/pmdk

permissions:
contents: read
permissions: {}

jobs:
linux:
Expand Down

0 comments on commit 2818944

Please sign in to comment.