Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actionlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ self-hosted-runner:
paths:
.github/workflows/**/*.{yml,yaml}:
ignore:
- '"copilot-requests" is not expected'
- 'unknown permission scope "copilot-requests"'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[/diagnose] The pattern correction is accurate — actionlint emits unknown permission scope "copilot-requests", not the quoted-string form the old rule expected. The old rule was effectively dead (never matched), leaving all 123 false-positives alive.

One forward-looking note: if additional Copilot-engine-only scopes appear (e.g. copilot-plan-requests), each will need its own ignore entry. Consider whether a broader pattern like unknown permission scope "copilot- covers future scopes more durably, or whether per-scope precision is intentional.

💡 Verifying the fix

Run actionlint against any lock file that uses copilot-requests: write to confirm zero [permissions] errors remain:

actionlint .github/workflows/daily-file-diet.lock.yml

3 changes: 2 additions & 1 deletion .github/workflows/daily-file-diet.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .github/workflows/daily-testify-uber-super-expert.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .github/workflows/go-fan.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading