ci: set contents read as default workflow permissions (#494)

This commit is contained in:
CrazyMax
2025-03-30 23:00:02 +02:00
committed by GitHub
parent 9c156ee8a1
commit 90c43f2c19
3 changed files with 12 additions and 0 deletions
+4
View File
@@ -4,6 +4,10 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }} group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true cancel-in-progress: true
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
permissions:
contents: read
on: on:
schedule: schedule:
- cron: '0 10 * * *' - cron: '0 10 * * *'
+4
View File
@@ -4,6 +4,10 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }} group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true cancel-in-progress: true
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
permissions:
contents: read
on: on:
push: push:
branches: branches:
+4
View File
@@ -4,6 +4,10 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }} group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true cancel-in-progress: true
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
permissions:
contents: read
on: on:
push: push:
branches: branches: