mirror of
https://github.com/coredns/coredns.git
synced 2025-12-27 04:25:10 -05:00
chore(ci): restrict token permissions (#7470)
Replace read-all with contents:read and add explicit permissions to follow principle of least privilege. Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
This commit is contained in:
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@@ -7,6 +7,9 @@ on:
|
||||
description: "Commit (e.g., 52f0348)"
|
||||
default: "master"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
release:
|
||||
name: Release
|
||||
|
||||
Reference in New Issue
Block a user