Skip to content

Sync main to testing#243

Merged
jakehildreth merged 4 commits intotestingfrom
main
Mar 28, 2025
Merged

Sync main to testing#243
jakehildreth merged 4 commits intotestingfrom
main

Conversation

@SamErde
Copy link
Collaborator

@SamErde SamErde commented Mar 27, 2025

With fixes to the MkDocs workflow, this syncs those changes from main back to testing:

This pull request updates the .github/workflows/Deploy MkDocs.yml file in testing to reflect fixes in main to the deployment process for MkDocs. The most important changes include updating the conditions for triggering the workflow, adding permissions and concurrency settings, and removing unnecessary steps.

Workflow trigger updates:

Permissions and concurrency settings:

Removal of unnecessary steps:

  • .github/workflows/Deploy MkDocs.yml: Removed the step that combined markdown files to create the MkDocs index and repository readme file, as well as the git auto-commit action step.

SamErde added 4 commits March 13, 2025 09:23
Change to only deploy MkDocs when merging a PR to main or pushing to main, as test updates should not update public docs.

Removed unnecessary jobs that were already commented out and unnecessary commit action. Should resolve the workflow failures!
# Optimize and Steps to Reduce Failures

## Changes

- Define scoped paths to trigger workflow only if docs, the MkDocs config, or the workflow itself get updated.
- Explicitly defined write permissions for contents.
- Added concurrency setting to stop if a new instance of the workflow starts.
Update Deploy MkDocs.yml to resolve workflow errors: reduce triggers to only relevant changes, add concurrency checks, and specify explicitly scoped permissions.
@SamErde SamErde added bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request labels Mar 27, 2025
@SamErde SamErde requested review from Copilot and jakehildreth March 27, 2025 01:44
@SamErde SamErde self-assigned this Mar 27, 2025
Copy link
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 pull request synchronizes changes from main to testing by updating the MkDocs deployment workflow. Key changes include updating trigger conditions with file paths, adding job-level permissions and concurrency settings, and removing obsolete steps for building and committing markdown files.

Comments suppressed due to low confidence (1)

.github/workflows/Deploy MkDocs.yml:10

  • The push trigger does not include a path for './mkdocs.yml' while the pull_request trigger does. This inconsistency could lead to unexpected behavior if changes are made to mkdocs.yml, so please verify if the omission is intentional.
paths:  # Only deploy MkDocs when the contents of the docs folder change or when this workflow changes

Copy link
Owner

@jakehildreth jakehildreth left a comment

Choose a reason for hiding this comment

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

Yes sir!

@jakehildreth jakehildreth merged commit 604b208 into testing Mar 28, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants