Skip to content

Resolve permissions issue in Deploy MkDocs.yml#259

Merged
SamErde merged 1 commit intomainfrom
SamErde-patch-1
Aug 6, 2025
Merged

Resolve permissions issue in Deploy MkDocs.yml#259
SamErde merged 1 commit intomainfrom
SamErde-patch-1

Conversation

@SamErde
Copy link
Copy Markdown
Collaborator

@SamErde SamErde commented Aug 6, 2025

This workflow should only run on a push to main. Pushing to other branches with a workflow during a PR is disabled for security reasons.

This workflow should only run on a push to main. Pushing to other branches with a workflow during a PR is disabled for security reasons.
Copilot AI review requested due to automatic review settings August 6, 2025 09:27
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR resolves permissions issues by restricting the MkDocs deployment workflow to only run on pushes to the main branch, removing the pull request trigger for security reasons.

  • Commented out the pull_request trigger and its configuration
  • Maintained the push trigger for the main branch to ensure deployments still occur

Comment thread .github/workflows/Deploy MkDocs.yml
@SamErde SamErde merged commit 17fa663 into main Aug 6, 2025
4 checks passed
@SamErde SamErde deleted the SamErde-patch-1 branch August 6, 2025 09:27
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