mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 18:05:44 +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
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
benchmark:
|
||||
strategy:
|
||||
|
|
3
.github/workflows/bullmq-tests.yml
vendored
3
.github/workflows/bullmq-tests.yml
vendored
|
@ -3,6 +3,9 @@ name: bullmq-tests
|
|||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
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:
|
||||
pull_request:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
group: dragonfly-${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue