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:
BLANKatGITHUB 2024-10-26 22:28:23 +05:30 committed by GitHub
parent c895b96274
commit 851e43211e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 0 deletions

View file

@ -5,6 +5,9 @@ on:
- cron: "0 9 * * *" # run at 6 AM UTC
workflow_dispatch:
permissions:
contents: read
jobs:
benchmark:
strategy:

View file

@ -3,6 +3,9 @@ name: bullmq-tests
on:
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest

View file

@ -5,6 +5,9 @@ on:
workflow_dispatch:
pull_request:
permissions:
contents: read
concurrency:
group: dragonfly-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true