Skip to content

github-action: Add AsciiDoc freeze warning#208534

Merged
shainaraskas merged 4 commits intoelastic:mainfrom
reakaleek:gh-oblt/add-asciidoc-freeze-warning
Jan 30, 2025
Merged

github-action: Add AsciiDoc freeze warning#208534
shainaraskas merged 4 commits intoelastic:mainfrom
reakaleek:gh-oblt/add-asciidoc-freeze-warning

Conversation

@reakaleek
Copy link
Copy Markdown
Member

Details

⚠️ This PR was created by an automated tool. Please review the changes carefully. ⚠️

Add a workflow that will comment on PRs with AsciiDoc changes.

Why

During the migration to Elastic Docs v3, the Docs team will focus exclusively on migrating content.
To maintain consistency, prevent conflicts, and ensure a smoother transition we will freeze all AsciiDoc changes.

This means you will get a warning when you create AsciiDoc changes in your PRs.

See elastic/docs-builder#281 for details

If there are any questions, please reach out to the @elastic/docs-engineering

@jbudz
Copy link
Copy Markdown
Contributor

jbudz commented Jan 28, 2025

I see this is going to ask authors not to merge. We regularly have asciidoc updates paired with source changes.

Is there anything we can communicate to authors that are blocked from implementing bug fixes and feature work? I see the migration guide, but don't see anything actionable yet.

@bmorelli25
Copy link
Copy Markdown
Member

This process is non-blocking by design. Authors can still merge PRs during the documentation freeze.

However, it’s important to note that any changes made to AsciiDoc documentation files after January 29 will be lost. We do not have a way to preserve documentation changes until content is fully migrated to the new file structure and build system.

Content changes can resume according to the timeline communicated here.

@jbudz
Copy link
Copy Markdown
Contributor

jbudz commented Jan 28, 2025

This process is non-blocking by design. Authors can still merge PRs during the documentation freeze.

Is it possible to note something to this effect in the comment? It looks like it's just asking authors not to merge the change currently.

https://github.com/elastic/docs-builder/blob/8e444d77f74153cdd29adbe557df4b6c47a587a4/.github/workflows/comment-on-asciidoc-changes.yml#L29-L35

@jbudz jbudz added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting labels Jan 28, 2025
@bmorelli25
Copy link
Copy Markdown
Member

Yes, that's good feedback. I will update the text.

@bmorelli25
Copy link
Copy Markdown
Member

Updated the comment and added a bunch of additional context to the link destination. Thanks again for the feedback.

Copy link
Copy Markdown
Contributor

@jbudz jbudz left a comment

Choose a reason for hiding this comment

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

Added a few comments, but don't want to get in the way of scheduling.

Circling back if needed works for me.

Comment on lines +11 to +13
- main
- master
- "9.0"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
- main
- master
- "9.0"
- main

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Will 9.0 be created today?

name: Comment on PR for .asciidoc changes

on:
pull_request:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Thank you for the suggestion.

I changed the implementation to use an existing action which does not depend on fetch-depth: 0.

Hence, I think, the checkout time should decrease.

on:
pull_request:
types:
- synchronize
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This may end up leaving quite a few duplicate comments. I'm assuming it's to catch already open pull requests, but wanted to make a note.

@shainaraskas shainaraskas enabled auto-merge (squash) January 30, 2025 16:19
@shainaraskas shainaraskas merged commit c7cef4c into elastic:main Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants