Skip to content

Conversation

Copy link

Copilot AI commented Nov 17, 2025

Addresses security feedback from #569 requiring explicit permissions declaration in GitHub Actions workflows per the principle of least privilege.

Changes

  • Added top-level permissions: contents: read to .github/workflows/semver-checks.yml

This limits the workflow's token scope to read-only repository access, sufficient for checkout and cargo operations.

on:
  pull_request:
    branches:
      - master
  workflow_dispatch:

permissions:
  contents: read

jobs:
  semver-checks:
    runs-on: ubuntu-latest

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: atuchin-m <45488748+atuchin-m@users.noreply.github.com>
@atuchin-m atuchin-m self-requested a review November 17, 2025 21:12
Copilot AI changed the title [WIP] Address feedback from review on semver-checks.yml PR Add explicit permissions to semver-checks workflow Nov 17, 2025
@atuchin-m atuchin-m marked this pull request as ready for review November 17, 2025 21:12
Copilot finished work on behalf of atuchin-m November 17, 2025 21:12
Copilot AI requested a review from atuchin-m November 17, 2025 21:12
@atuchin-m atuchin-m requested a review from a team as a code owner November 17, 2025 21:12
@atuchin-m atuchin-m merged commit 16f19ae into add-semver-checks-ci Nov 17, 2025
2 checks passed
@atuchin-m atuchin-m deleted the copilot/sub-pr-569 branch November 17, 2025 21: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