CI: set least-privileged GITHUB_TOKEN (permissions: contents: read)

This commit is contained in:
Ryan
2025-10-09 00:09:27 -04:00
committed by GitHub
parent c22c8e0f34
commit f2ab2a96bc
3 changed files with 4 additions and 4 deletions

View File

@@ -6,6 +6,9 @@ name: CI
pull_request:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
@@ -62,7 +65,7 @@ jobs:
with:
dockerfile: Dockerfile
failure-threshold: error
ignore: DL3008,DL3059
ignore: DL3008,DL3059
sanity:
runs-on: ubuntu-latest
@@ -87,4 +90,3 @@ jobs:
else
echo "No YAML files."
fi

View File

@@ -42,4 +42,3 @@ jobs:
git commit -m "chore: sync CHANGELOG.md from FileRise"
git push origin main
fi

View File

@@ -41,4 +41,3 @@ services:
timeout: 5s
retries: 3
start_period: 20s