From aceee9f310ad927a742b42d06d62de5dcfd171a4 Mon Sep 17 00:00:00 2001 From: StepSecurity Bot Date: Fri, 18 Sep 2026 21:20:37 +0000 Subject: [PATCH] ci: Harden GitHub Actions Signed-off-by: StepSecurity Bot --- .github/workflows/dco-check.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/dco-check.yaml b/.github/workflows/dco-check.yaml index 0633787..e9fa601 100644 --- a/.github/workflows/dco-check.yaml +++ b/.github/workflows/dco-check.yaml @@ -8,8 +8,13 @@ on: - "labeled" - "unlabeled" +permissions: + contents: read + jobs: commits_check_job: + permissions: + pull-requests: read # for tim-actions/get-pr-commits to get list of commits from the PR runs-on: ubuntu-slim name: Commits Check steps: