mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 10:25:47 +02:00
refactor(workflow): changes default permissions to read for few workflows increasing security (#3905)
* refactor: makes read default permision --------- Signed-off-by: BLANKatGITHUB <131886247+BLANKatGITHUB@users.noreply.github.com>
This commit is contained in:
parent
c895b96274
commit
851e43211e
3 changed files with 9 additions and 0 deletions
3
.github/workflows/benchmark.yml
vendored
3
.github/workflows/benchmark.yml
vendored
|
@ -5,6 +5,9 @@ on:
|
||||||
- cron: "0 9 * * *" # run at 6 AM UTC
|
- cron: "0 9 * * *" # run at 6 AM UTC
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
benchmark:
|
benchmark:
|
||||||
strategy:
|
strategy:
|
||||||
|
|
3
.github/workflows/bullmq-tests.yml
vendored
3
.github/workflows/bullmq-tests.yml
vendored
|
@ -3,6 +3,9 @@ name: bullmq-tests
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
3
.github/workflows/test-fakeredis.yml
vendored
3
.github/workflows/test-fakeredis.yml
vendored
|
@ -5,6 +5,9 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: dragonfly-${{ github.workflow }}-${{ github.ref }}
|
group: dragonfly-${{ github.workflow }}-${{ github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue