From 83e683f0d30711bc81f281cd6c1e0be41618915d Mon Sep 17 00:00:00 2001 From: Xianpeng Shen Date: Thu, 11 Sep 2025 09:47:21 +0300 Subject: [PATCH 1/2] Add permissions section to stale.yml workflow https://github.com/cpp-linter/cpp-linter-action/actions/runs/17632456845 ```bash Invalid workflow file: .github/workflows/stale.yml#L9 The workflow is not valid. .github/workflows/stale.yml (Line: 9, Col: 3): Error calling workflow 'cpp-linter/.github/.github/workflows/stale.yml@main'. The nested job 'stale' is requesting 'contents: read, pull-requests: write', but is only allowed 'contents: none, pull-requests: none'. ``` --- .github/workflows/stale.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 82d2633..1486220 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -2,6 +2,8 @@ name: "Close stale issues" on: [workflow_call] +permissions: {} + jobs: stale: permissions: From a4573e18482917bbc5e60ad692713dbcf9a46123 Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Wed, 10 Sep 2025 23:52:23 -0700 Subject: [PATCH 2/2] add missing workflow name --- .github/workflows/ci-check.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci-check.yml b/.github/workflows/ci-check.yml index 59313d3..5c54b59 100644 --- a/.github/workflows/ci-check.yml +++ b/.github/workflows/ci-check.yml @@ -1,3 +1,5 @@ +name: Lint CI workflows + on: workflow_call: push: