Skip to content

Remove duplicate permissions block in verify workflow#7

Closed
Copilot wants to merge 2 commits into
alert-autofix-4from
copilot/sub-pr-3
Closed

Remove duplicate permissions block in verify workflow#7
Copilot wants to merge 2 commits into
alert-autofix-4from
copilot/sub-pr-3

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 15, 2026

The verify workflow contained two identical permissions: contents: read blocks, which is invalid YAML—duplicate keys cause only the last declaration to apply.

Changes:

  • Removed the duplicate permissions block after the on: section
  • Retained single top-level permissions block at workflow start

Before:

name: Verify

permissions:
  contents: read

on:
  push:
  pull_request:

permissions:
  contents: read  # duplicate

After:

name: Verify

permissions:
  contents: read

on:
  push:
  pull_request:

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: BENZOOgataga <50145143+BENZOOgataga@users.noreply.github.com>
Copilot AI changed the title [WIP] Update permissions in code scanning alert fix PR Remove duplicate permissions block in verify workflow Feb 15, 2026
Copilot AI requested a review from BENZOOgataga February 15, 2026 02:07
@BENZOOgataga BENZOOgataga deleted the copilot/sub-pr-3 branch February 15, 2026 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants