Skip to content

ci: only build and deploy docs when docs change#2085

Merged
triceo merged 1 commit intoTimefoldAI:mainfrom
triceo:docs
Feb 9, 2026
Merged

ci: only build and deploy docs when docs change#2085
triceo merged 1 commit intoTimefoldAI:mainfrom
triceo:docs

Conversation

@triceo
Copy link
Collaborator

@triceo triceo commented Feb 6, 2026

No description provided.

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 PR refactors the documentation build and deployment workflow to run only when documentation files change. It extracts the build_documentation job from the general pull_request_secure.yml workflow into a dedicated pull_request_docs.yml workflow that uses a path filter to trigger only on changes to the docs/** directory.

Changes:

  • Removed build_documentation job from .github/workflows/pull_request_secure.yml
  • Created new .github/workflows/pull_request_docs.yml workflow with identical documentation build logic but with paths: ['docs/**'] filter

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
.github/workflows/pull_request_secure.yml Removed the build_documentation job (lines 214-296) to avoid running doc builds on non-doc changes
.github/workflows/pull_request_docs.yml New workflow file containing the documentation build job with path filtering to run only when docs/** files change

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

@triceo triceo changed the title ci: only build and deploy docs when docs changes ci: only build and deploy docs when docs change Feb 6, 2026
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

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 6, 2026

@triceo triceo merged commit e827b8c into TimefoldAI:main Feb 9, 2026
26 of 34 checks passed
@triceo triceo deleted the docs branch February 9, 2026 14:03
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.

3 participants