Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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: 2 additions & 0 deletions .github/workflows/code-scanning-pack-gen.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Code Scanning Query Pack Generation
permissions:
contents: read

on:
merge_group:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/codeql_unit_tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: CodeQL Unit Testing
permissions:
contents: read

on:
merge_group:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/dispatch-matrix-test-on-comment.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
name: 🤖 Run Matrix Check (On Comment)
permissions:
contents: read
actions: write
pull-requests: write

on:
issue_comment:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/dispatch-release-performance-check.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
name: 🏁 Run Release Performance Check
permissions:
contents: read
actions: write
pull-requests: write

on:
issue_comment:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/extra-rule-validation.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: ⚙️ Extra Rule Validation
permissions:
contents: read

on:
merge_group:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/finalize-release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
name: Finalize Release
permissions:
contents: write
pull-requests: write
actions: write

on:
pull_request:
types:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/generate-html-docs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Generate HTML documentation
permissions:
contents: read

on:
merge_group:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/standard_library_upgrade_tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: CodeQL Standard Library Upgrade tests
permission:
contents: read

# Run this workflow every time the "supported_codeql_configs.json" file is changed
on:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tooling-unit-tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: 🧰 Tooling unit tests
permissions:
contents: read

on:
merge_group:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/update-check-run.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Update check run
permissions:
contents: read
Comment on lines +2 to +3
Copy link

Copilot AI Dec 9, 2025

Choose a reason for hiding this comment

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

This workflow has duplicate permissions blocks. Lines 2-3 define contents: read, while lines 42-43 define checks: write. GitHub Actions only supports one permissions block per workflow. The workflow likely needs checks: write permission based on the check run update operation performed in the job. The earlier contents: read permission should be removed or combined with checks: write into a single block at the top level.

Copilot uses AI. Check for mistakes.

on:
workflow_dispatch:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/update-release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
name: Update Release
permissions:
contents: write
pull-requests: write
actions: write

on:
workflow_dispatch:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/upgrade_codeql_dependencies.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: Upgrade supported CodeQL configuration
permissions:
contents: write
pull-requests: write

on:
workflow_dispatch:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/validate-package-files.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Validate Package Files
permissions:
contents: read
on:
merge_group:
types: [checks_requested]
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/validate-query-formatting.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: "Validate Query Formatting"
permissions:
contents: read
on:
merge_group:
types: [checks_requested]
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/validate-query-help.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Validate Query Help Files
permissions:
contents: read
on:
merge_group:
types: [checks_requested]
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/validate-query-test-case-formatting.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Validate Query Test Case Formatting
permissions:
contents: read
on:
merge_group:
types: [checks_requested]
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/validate-release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
name: Validate release
permissions:
contents: read
actions: write
checks: write
pull-requests: write

on:
pull_request:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/verify-standard-library-dependencies.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Verify Standard Library Dependencies
permissions:
contents: read

# Run this workflow every time the "supported_codeql_configs.json" file or a "qlpack.yml" file is changed
on:
Expand Down
Loading