mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2026-01-01 22:29:23 +03:00
feat: add permissions section to workflows for consistent access control
This commit is contained in:
4
.github/workflows/docker-scan.yml
vendored
4
.github/workflows/docker-scan.yml
vendored
@@ -18,6 +18,10 @@ on:
|
||||
schedule:
|
||||
- cron: '0 0 * * 0' # Run weekly on Sunday at midnight
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
actions: read
|
||||
|
||||
jobs:
|
||||
scan:
|
||||
name: Scan Docker Image
|
||||
|
||||
Reference in New Issue
Block a user