Skip to content

Conversation

@danielfbm
Copy link
Member

@danielfbm danielfbm commented Jun 30, 2025

Reverts #1

Summary by CodeRabbit

  • Documentation

    • Added a new metadata field to the front matter of all English documentation files for improved traceability.
    • Made minor formatting adjustments in two documentation files (comment spacing and blank lines).
    • No changes to the visible content or instructions within the documentation.
  • Chores

    • Updated GitHub Actions workflow to generalize and simplify file synchronization and change detection logic.

Copilot AI review requested due to automatic review settings June 30, 2025 06:56
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jun 30, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

A sourceSHA metadata field containing a commit hash was added to the frontmatter of numerous documentation files across the project. In a few cases, minor formatting adjustments were made to comments or whitespace. No changes were made to the substantive content, logic, or structure of the documentation.

Changes

Files Summary of Changes
docs/en/apis/*/*.mdx, docs/en/apis/index.mdx, docs/en/apis/intro.mdx Added sourceSHA metadata field to frontmatter.
docs/en/configure/*.mdx Added sourceSHA metadata field to frontmatter.
docs/en/development/*.md[x] Added sourceSHA metadata field to frontmatter. Minor comment formatting in component-quickstart/index.md.
docs/en/how_to/*.mdx Added sourceSHA metadata field to frontmatter.
docs/en/hub/*.mdx Added sourceSHA metadata field to frontmatter.
docs/en/index.mdx, docs/en/overview/*.mdx Added sourceSHA metadata field to frontmatter.
docs/en/results/*.mdx Added sourceSHA metadata field to frontmatter.
docs/en/triggers/*.mdx Added sourceSHA metadata field to frontmatter. Minor whitespace tweaks in trouble_shooting/pipeline_not_triggered.mdx.
.github/workflows/reverse-sync.yml Refactored workflow to use environment variables for ignored and synced paths; removed hardcoded path filters; simplified patch creation and fallback copy logic.

Sequence Diagram(s)

No sequence diagram generated as the changes are metadata additions without control flow impact.

Possibly related PRs

Suggested reviewers

  • l-qing

Poem

In fields of docs, a hash now grows,
Each page adorned, its sourceSHA shows.
No words were changed, no meanings lost,
Just metadata, at little cost.
The rabbit hops with gentle cheer—
"Our docs are tagged, their source is clear!"
🐇✨


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 71273a0 and 7c10735.

📒 Files selected for processing (1)
  • .github/workflows/reverse-sync.yml (5 hunks)

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

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 reverts the previous removal of sourceSHA metadata and restores the calculated hash entries in the frontmatter of multiple documentation files.

  • Re-inserts sourceSHA frontmatter field across various docs files
  • Ensures original source hashes are tracked for localization and tooling
  • Applies uniformly to all .mdx and relevant .md files under docs/en

Reviewed Changes

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

Show a summary per file
File Description
docs/en/triggers/trouble_shooting/pipeline_not_triggered.mdx Re-adds sourceSHA to frontmatter
docs/en/triggers/trouble_shooting/index.mdx Re-adds sourceSHA to frontmatter
docs/en/triggers/quick_start.mdx Re-adds sourceSHA to frontmatter
docs/en/triggers/intro.mdx Re-adds sourceSHA to frontmatter
docs/en/triggers/index.mdx Re-adds sourceSHA to frontmatter
docs/en/triggers/architecture.mdx Re-adds sourceSHA to frontmatter
docs/en/results/quick_start.mdx Re-adds sourceSHA to frontmatter
docs/en/results/permissions.mdx Re-adds sourceSHA to frontmatter
docs/en/results/intro.mdx Re-adds sourceSHA to frontmatter
docs/en/results/index.mdx Re-adds sourceSHA to frontmatter
docs/en/results/concepts/index.mdx Re-adds sourceSHA to frontmatter
docs/en/results/architecture.mdx Re-adds sourceSHA to frontmatter
docs/en/overview/intro.mdx Re-adds sourceSHA to frontmatter
docs/en/overview/index.mdx Re-adds sourceSHA to frontmatter
docs/en/overview/features.mdx Re-adds sourceSHA to frontmatter
docs/en/index.mdx Re-adds sourceSHA to frontmatter
docs/en/hub/index.mdx Re-adds sourceSHA to frontmatter
docs/en/hub/architecture.mdx Re-adds sourceSHA to frontmatter
docs/en/how_to/index.mdx Re-adds sourceSHA to frontmatter
docs/en/how_to/deploy_global.mdx Re-adds sourceSHA to frontmatter
docs/en/development/update-frontend/index.md Re-adds sourceSHA to frontmatter
docs/en/development/index.mdx Re-adds sourceSHA to frontmatter
docs/en/development/component-quickstart/index.md Re-adds sourceSHA to frontmatter
docs/en/configure/pruner_resources.mdx Re-adds sourceSHA to frontmatter
docs/en/configure/customize_tekton_pipeline.mdx Re-adds sourceSHA to frontmatter
docs/en/configure/customize_options.mdx Re-adds sourceSHA to frontmatter
docs/en/apis/kubernetes_apis/triggers/triggertemplate.mdx Re-adds sourceSHA to frontmatter
docs/en/apis/kubernetes_apis/triggers/triggers.mdx Re-adds sourceSHA to frontmatter
docs/en/apis/kubernetes_apis/triggers/triggerbinding.mdx Re-adds sourceSHA to frontmatter
docs/en/apis/kubernetes_apis/triggers/interceptor.mdx Re-adds sourceSHA to frontmatter
docs/en/apis/kubernetes_apis/triggers/index.mdx Re-adds sourceSHA to frontmatter
docs/en/apis/kubernetes_apis/triggers/eventlistener.mdx Re-adds sourceSHA to frontmatter
docs/en/apis/kubernetes_apis/triggers/clustertriggerbinding.mdx Re-adds sourceSHA to frontmatter
docs/en/apis/kubernetes_apis/triggers/clusterinterceptor.mdx Re-adds sourceSHA to frontmatter
docs/en/apis/kubernetes_apis/operator/tektontriggers.mdx Re-adds sourceSHA to frontmatter
docs/en/apis/kubernetes_apis/operator/tektonresults.mdx Re-adds sourceSHA to frontmatter
docs/en/apis/kubernetes_apis/operator/tektonpipelines.mdx Re-adds sourceSHA to frontmatter
docs/en/apis/kubernetes_apis/operator/tektoninstallersets.mdx Re-adds sourceSHA to frontmatter
docs/en/apis/kubernetes_apis/operator/tektoninstallerset.mdx Re-adds sourceSHA to frontmatter
docs/en/apis/kubernetes_apis/operator/tektonhubs.mdx Re-adds sourceSHA to frontmatter
docs/en/apis/kubernetes_apis/operator/tektonconfig.mdx Re-adds sourceSHA to frontmatter
docs/en/apis/kubernetes_apis/operator/tektonchains.mdx Re-adds sourceSHA to frontmatter
docs/en/apis/kubernetes_apis/operator/openshiftpipelinesascodes.mdx Re-adds sourceSHA to frontmatter
docs/en/apis/kubernetes_apis/index.mdx Re-adds sourceSHA to frontmatter
docs/en/apis/intro.mdx Re-adds sourceSHA to frontmatter
docs/en/apis/index.mdx Re-adds sourceSHA to frontmatter
docs/en/apis/advanced_apis/results/results_v1alpha2_parents_results_uuid_records.mdx Re-adds sourceSHA to frontmatter
docs/en/apis/advanced_apis/results/results_v1alpha2_parents_results_uuid_logs.mdx Re-adds sourceSHA to frontmatter
docs/en/apis/advanced_apis/results/results_v1alpha2_parents_results_uuid.mdx Re-adds sourceSHA to frontmatter
docs/en/apis/advanced_apis/results/results_v1alpha2_parents_results.mdx Re-adds sourceSHA to frontmatter
docs/en/apis/advanced_apis/results/intro.md Re-adds sourceSHA to frontmatter
docs/en/apis/advanced_apis/results/index.mdx Re-adds sourceSHA to frontmatter

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

♻️ Duplicate comments (4)
docs/en/apis/kubernetes_apis/operator/tektonchains.mdx (1)

3-3: Same quoting nitpick as noted for clusterinterceptor.mdx

Apply the quoted form for consistency.

docs/en/apis/advanced_apis/results/results_v1alpha2_parents_results_uuid.mdx (1)

3-3: Same quoting nitpick as noted earlier

docs/en/apis/kubernetes_apis/triggers/clustertriggerbinding.mdx (1)

3-3: Same quoting nitpick as noted earlier

docs/en/apis/kubernetes_apis/operator/tektonhubs.mdx (1)

3-3: Same quoting nitpick as noted earlier

🧹 Nitpick comments (12)
docs/en/development/component-quickstart/index.md (2)

237-243: Trailing whitespace introduces noisy diffs.

Line 239 now ends with an extra space after the colon (# TL;DR:·).
Markdown/YAML comments don’t need this padding, and linters may flag it.

-        # TL;DR: 
+        # TL;DR:

333-337: Same trailing-space nit on the “Important” comment.

-        # **Important** Update the component's version number 
+        # **Important** Update the component's version number
docs/en/overview/intro.mdx (1)

3-3: Automate sourceSHA generation to prevent manual drift

A hard-coded hash will inevitably go stale after the next change to the referenced source. Consider generating / injecting this field during the docs build (e.g. a pre-commit or CI step) instead of committing literal values.

docs/en/overview/index.mdx (1)

3-3: Confirm the accuracy & maintenance strategy for sourceSHA

Please verify that the stored hash actually corresponds to the latest upstream source and document how the field will be updated going forward. Without automation, the metadata risks becoming misleading.

docs/en/overview/features.mdx (1)

3-3: sourceSHA looks correct (64-char hex) — but add context

The value format is valid, yet new contributors won’t know why it exists. A short comment in CONTRIBUTING or a docs-build helper script would improve maintainability and reduce accidental removal (the original change you’re reverting).

docs/en/results/permissions.mdx (1)

3-3: Quote the SHA to avoid YAML edge-cases.

While plain scalars are usually fine, wrapping long hexadecimal strings in quotes guards against future YAML parsers that might attempt type-coercion or line-folding.

-sourceSHA: 80a7ecd66cd9ce5252ddc1a40ce65ee072b136b380fa43cd5b062ff6face24ae
+sourceSHA: "80a7ecd66cd9ce5252ddc1a40ce65ee072b136b380fa43cd5b062ff6face24ae"
docs/en/apis/kubernetes_apis/operator/tektontriggers.mdx (1)

3-3: Consistently quote new front-matter hashes.

Same rationale as above; quoting avoids any YAML parsing surprises and keeps formatting consistent with string values elsewhere in the docs set.

-sourceSHA: d43739dfcdf60af7b7725ad2689c0a3c99edc001e00afd7477d7725e3e5bfb28
+sourceSHA: "d43739dfcdf60af7b7725ad2689c0a3c99edc001e00afd7477d7725e3e5bfb28"
docs/en/apis/advanced_apis/results/results_v1alpha2_parents_results_uuid_logs.mdx (1)

3-3: Quote the hexadecimal sourceSHA value.

For clarity and safer YAML parsing:

-sourceSHA: ee8963e55cef330bd194bf9494040e9577b6cba601438da14947fc007822eb67
+sourceSHA: "ee8963e55cef330bd194bf9494040e9577b6cba601438da14947fc007822eb67"
docs/en/apis/kubernetes_apis/triggers/eventlistener.mdx (1)

3-3: Minor YAML style refinement – add quotes.

-sourceSHA: fef4fe40c508978d994e33a72a894cbc55a51ddeea8d8edbf8c101a918eccca4
+sourceSHA: "fef4fe40c508978d994e33a72a894cbc55a51ddeea8d8edbf8c101a918eccca4"
docs/en/apis/kubernetes_apis/triggers/interceptor.mdx (1)

3-3: Apply quoting for consistency across docs.

-sourceSHA: 33f190e458d23fcfeea927fa32926bba930cfb83b325da0a6cd5865b8bd1e617
+sourceSHA: "33f190e458d23fcfeea927fa32926bba930cfb83b325da0a6cd5865b8bd1e617"
docs/en/apis/kubernetes_apis/triggers/clusterinterceptor.mdx (1)

3-3: Quote the hash to avoid YAML edge-cases

Unquoted, the scalar parses fine today, but quoting prevents any accidental numeric interpretation by stricter linters and keeps front-matter style uniform.

-sourceSHA: cb56559a5db99722832c6fe2418b634f07a96ebf9e0210182b3a5fd7ee1afe6a
+sourceSHA: "cb56559a5db99722832c6fe2418b634f07a96ebf9e0210182b3a5fd7ee1afe6a"
docs/en/triggers/trouble_shooting/pipeline_not_triggered.mdx (1)

22-31: Minor wording & whitespace nitpicks

While touching this block you can fix two quick issues:

-## Problem Investigation 
+## Problem Investigation

-### Webhook configuration was not setup correctly 
+### Webhook configuration was not set up correctly

-  3. Make sure the required events are enabled by the webhook. For Gitlab events please refer to [GitLab Event Triggers](../how_to/gitlab_events.mdx)
+  3. Make sure the required events are enabled by the webhook. For GitLab events, please refer to [GitLab Event Triggers](../how_to/gitlab_events.mdx)

-  
+

• “set up” is the correct verb form.
• Added the missing comma after an introductory clause.
• Removed trailing whitespace.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between fc99e99 and 71273a0.

📒 Files selected for processing (52)
  • docs/en/apis/advanced_apis/results/index.mdx (1 hunks)
  • docs/en/apis/advanced_apis/results/intro.md (1 hunks)
  • docs/en/apis/advanced_apis/results/results_v1alpha2_parents_results.mdx (1 hunks)
  • docs/en/apis/advanced_apis/results/results_v1alpha2_parents_results_uuid.mdx (1 hunks)
  • docs/en/apis/advanced_apis/results/results_v1alpha2_parents_results_uuid_logs.mdx (1 hunks)
  • docs/en/apis/advanced_apis/results/results_v1alpha2_parents_results_uuid_records.mdx (1 hunks)
  • docs/en/apis/index.mdx (1 hunks)
  • docs/en/apis/intro.mdx (1 hunks)
  • docs/en/apis/kubernetes_apis/index.mdx (1 hunks)
  • docs/en/apis/kubernetes_apis/operator/openshiftpipelinesascodes.mdx (1 hunks)
  • docs/en/apis/kubernetes_apis/operator/tektonchains.mdx (1 hunks)
  • docs/en/apis/kubernetes_apis/operator/tektonconfig.mdx (1 hunks)
  • docs/en/apis/kubernetes_apis/operator/tektonhubs.mdx (1 hunks)
  • docs/en/apis/kubernetes_apis/operator/tektoninstallerset.mdx (1 hunks)
  • docs/en/apis/kubernetes_apis/operator/tektoninstallersets.mdx (1 hunks)
  • docs/en/apis/kubernetes_apis/operator/tektonpipelines.mdx (1 hunks)
  • docs/en/apis/kubernetes_apis/operator/tektonresults.mdx (1 hunks)
  • docs/en/apis/kubernetes_apis/operator/tektontriggers.mdx (1 hunks)
  • docs/en/apis/kubernetes_apis/triggers/clusterinterceptor.mdx (1 hunks)
  • docs/en/apis/kubernetes_apis/triggers/clustertriggerbinding.mdx (1 hunks)
  • docs/en/apis/kubernetes_apis/triggers/eventlistener.mdx (1 hunks)
  • docs/en/apis/kubernetes_apis/triggers/index.mdx (1 hunks)
  • docs/en/apis/kubernetes_apis/triggers/interceptor.mdx (1 hunks)
  • docs/en/apis/kubernetes_apis/triggers/triggerbinding.mdx (1 hunks)
  • docs/en/apis/kubernetes_apis/triggers/triggers.mdx (1 hunks)
  • docs/en/apis/kubernetes_apis/triggers/triggertemplate.mdx (1 hunks)
  • docs/en/configure/customize_options.mdx (1 hunks)
  • docs/en/configure/customize_tekton_pipeline.mdx (1 hunks)
  • docs/en/configure/pruner_resources.mdx (1 hunks)
  • docs/en/development/component-quickstart/index.md (3 hunks)
  • docs/en/development/index.mdx (1 hunks)
  • docs/en/development/update-frontend/index.md (1 hunks)
  • docs/en/how_to/deploy_global.mdx (1 hunks)
  • docs/en/how_to/index.mdx (1 hunks)
  • docs/en/hub/architecture.mdx (1 hunks)
  • docs/en/hub/index.mdx (1 hunks)
  • docs/en/index.mdx (1 hunks)
  • docs/en/overview/features.mdx (1 hunks)
  • docs/en/overview/index.mdx (1 hunks)
  • docs/en/overview/intro.mdx (1 hunks)
  • docs/en/results/architecture.mdx (1 hunks)
  • docs/en/results/concepts/index.mdx (1 hunks)
  • docs/en/results/index.mdx (1 hunks)
  • docs/en/results/intro.mdx (1 hunks)
  • docs/en/results/permissions.mdx (1 hunks)
  • docs/en/results/quick_start.mdx (1 hunks)
  • docs/en/triggers/architecture.mdx (1 hunks)
  • docs/en/triggers/index.mdx (1 hunks)
  • docs/en/triggers/intro.mdx (1 hunks)
  • docs/en/triggers/quick_start.mdx (1 hunks)
  • docs/en/triggers/trouble_shooting/index.mdx (1 hunks)
  • docs/en/triggers/trouble_shooting/pipeline_not_triggered.mdx (2 hunks)
🧰 Additional context used
🪛 LanguageTool
docs/en/triggers/trouble_shooting/pipeline_not_triggered.mdx

[grammar] ~26-~26: Make sure that the noun ‘setup’ is correct. Did you mean the past participle “set up”?
Context: ...em: ### Webhook configuration was not setup correctly 1. Access your repository...

(BE_VB_OR_NN)


[typographical] ~30-~30: Consider adding a comma here.
Context: ...nabled by the webhook. For Gitlab events please refer to [GitLab Event Triggers](../how...

(PLEASE_COMMA)

🔇 Additional comments (37)
docs/en/how_to/deploy_global.mdx (1)

4-4: sourceSHA metadata added correctly

The 64-character commit hash is well-formed, and the front-matter remains valid YAML. No issues found.

docs/en/index.mdx (1)

2-2: Front-matter addition looks good

sourceSHA is a simple string value, valid YAML, and aligns with the pattern used in other files. No further action required.

docs/en/apis/kubernetes_apis/operator/tektoninstallersets.mdx (1)

2-4: sourceSHA front-matter field re-added correctly

The re-addition of the sourceSHA field restores traceability metadata without affecting the rendered content. The 64-char value matches a SHA-256 format and the key naming is consistent with the rest of the docs set. No further action needed.

docs/en/configure/customize_tekton_pipeline.mdx (1)

4-4: Front-matter metadata re-addition looks good

The sourceSHA field is correctly reintroduced and the YAML front-matter remains syntactically valid.

docs/en/how_to/index.mdx (1)

3-7: YAML front-matter change looks correct.

The sourceSHA field is added at the root level, so the YAML remains valid and should be parsed by the docs tooling without issues. No further action required.

docs/en/apis/kubernetes_apis/operator/openshiftpipelinesascodes.mdx (1)

3-3: sourceSHA front-matter field looks good

YAML syntax is valid and the hash is treated as a plain scalar; no further action needed.

docs/en/configure/pruner_resources.mdx (1)

4-4: Confirm SHA length / format aligns with expected sourceSHA spec

The value is a 64-character hex string, whereas Git commit hashes are typically 40 characters.
If your docs tooling validates this field (e.g., for lookup or link-back), double-check that the longer SHA is actually recognised and not treated as invalid/unused metadata.

docs/en/development/update-frontend/index.md (1)

3-3: Verify sourceSHA format

The value is 64 hex characters, whereas standard Git commit SHAs are 40. Confirm the hash length is intentional (e.g., SHA-256) and that any tooling consuming this metadata supports it.

docs/en/development/component-quickstart/index.md (1)

3-4: Check validity & format of the added sourceSHA.

A Git commit hash is usually 40 hex chars (SHA-1) or 64 hex chars when SHA-256 repos are enabled.
Before relying on this metadata downstream, please confirm:

  1. The value really exists in the history of the upstream repo.
  2. The field name (sourceSHA) is documented/standard across the docs site so that tools can consume it consistently.
  3. If consumers parse YAML strictly, consider quoting the hash to avoid future parser edge-cases.
docs/en/configure/customize_options.mdx (1)

4-4: All documentation files include sourceSHA metadata – consistency confirmed
Verified that every .md and .mdx under docs/ has a 64-character sourceSHA: entry. No missing fields detected.

docs/en/apis/advanced_apis/results/results_v1alpha2_parents_results.mdx (1)

3-3: sourceSHA front-matter addition looks good

No issues spotted; syntax is valid and keeps front-matter ordering consistent with other docs.

docs/en/apis/index.mdx (1)

6-6: Metadata addition accepted

sourceSHA inserted correctly; no further action required.

docs/en/hub/index.mdx (1)

3-3: Front-matter update OK

SHA field follows the same pattern as the rest of the revert. Looks fine.

docs/en/apis/kubernetes_apis/triggers/triggerbinding.mdx (1)

3-3: Consistent sourceSHA addition – LGTM

Field added without disrupting existing content.

docs/en/apis/intro.mdx (1)

3-3: Re-adding sourceSHA front-matter looks good

Restores the previously-removed metadata for traceability without affecting rendered content.

docs/en/results/intro.mdx (1)

3-3: sourceSHA metadata reinstated successfully

Consistent with the revert’s goal; no further action required.

docs/en/results/index.mdx (1)

2-2: Front-matter hash restored

Alignment with other docs confirmed; change is harmless.

docs/en/hub/architecture.mdx (1)

3-3: Traceability hash reintroduced correctly

The addition follows the same pattern as the rest of the revert set.

docs/en/apis/kubernetes_apis/operator/tektonresults.mdx (1)

3-3: Hash field restoration verified

Matches the repository-wide metadata scheme; looks fine.

docs/en/apis/kubernetes_apis/operator/tektonconfig.mdx (1)

3-3: sourceSHA field addition is syntactically correct

Front-matter stays valid YAML/TOML, the 64-char SHA looks well-formed. No further action needed.

docs/en/results/architecture.mdx (1)

3-3: Front-matter metadata looks good

The new sourceSHA hash is properly inserted and preserves the existing front-matter structure.

docs/en/apis/kubernetes_apis/index.mdx (1)

2-2: Confirmed valid hash addition

Nothing else changed; build tooling should ingest the new field without side-effects.

docs/en/apis/kubernetes_apis/operator/tektonpipelines.mdx (1)

3-3: Metadata update accepted

sourceSHA entry complies with the format adopted across the docs.

docs/en/apis/kubernetes_apis/triggers/triggertemplate.mdx (1)

3-3: Consistent front-matter enhancement

The added hash follows the same convention; no issues found.

docs/en/apis/advanced_apis/results/index.mdx (1)

6-6: Front-matter metadata addition looks good

sourceSHA is added as a plain scalar; since the value contains hexadecimal letters, YAML will treat it as a string, so no quoting is strictly required.
No further issues spotted.

docs/en/apis/advanced_apis/results/intro.md (1)

4-4: Consistent metadata – all good

The added sourceSHA follows the same pattern as other docs files. ✅

docs/en/apis/kubernetes_apis/triggers/triggers.mdx (1)

3-3: LGTM

Nothing to flag; the new front-matter key is syntactically valid YAML.

docs/en/results/concepts/index.mdx (1)

6-6: Metadata addition accepted

sourceSHA correctly lives at top-level of the front-matter block. No further action needed.

docs/en/results/quick_start.mdx (1)

3-3: No issues with the new sourceSHA entry

Change is safe and keeps the front-matter valid. 👍

docs/en/apis/kubernetes_apis/operator/tektoninstallerset.mdx (1)

3-3: sourceSHA front-matter entry added – looks good

YAML syntax and ordering are valid; no functional impact beyond traceability. ✅

docs/en/apis/kubernetes_apis/triggers/index.mdx (1)

6-6: sourceSHA field correctly inserted

Indentation level and placement keep the front-matter valid; no further action required.

docs/en/triggers/index.mdx (1)

2-2: Traceability metadata accepted

The added commit hash is well-formed and the front-matter remains syntactically correct.

docs/en/triggers/intro.mdx (1)

3-3: Addition of sourceSHA is fine

Consistent with other docs; YAML stays valid. No issues spotted.

docs/en/triggers/quick_start.mdx (1)

3-3: No concerns with the new sourceSHA entry

Hash format and placement are correct; documentation builds should remain unaffected.

docs/en/triggers/architecture.mdx (1)

3-3: sourceSHA front-matter looks fine – just ensure the value is what you expect

Nothing else changed in this file. 64-char hashes are acceptable, but double-check it actually maps to a relevant commit/tag; otherwise it’s just noise in version control history.

docs/en/triggers/trouble_shooting/index.mdx (1)

6-6: Consistent metadata 👍

sourceSHA is placed at the correct indentation level and doesn’t break the YAML structure.

docs/en/development/index.mdx (1)

4-4: Confirm sourceSHA matches latest upstream Chinese commit
No Chinese counterpart for docs/development/index.mdx was found in this repo (e.g. docs/zh/development/index.mdx), so the hash 75c34d0d72e02898d2113ea25e4d650c5813026359d0fbe191f5f0a4003ea1d0 could not be validated.
Please manually:

  • Locate the current Chinese source file upstream.
  • Retrieve its latest commit SHA.
  • Update the sourceSHA in docs/en/development/index.mdx if it has changed.

@@ -1,5 +1,6 @@
---
weight: 300
sourceSHA: da1c16d39fd92f75e46aaa6298dd383507ab0f1931f81a700a6140c12e918afc
Copy link
Contributor

Choose a reason for hiding this comment

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

💡 Verification agent

🧩 Analysis chain

Verify consistency/uniqueness of all newly-added sourceSHA values

This SHA looks fine syntactically, but because dozens of files just received a sourceSHA it’s easy to accidentally paste the same hash twice or introduce a typo.
Suggest running a quick check across the repo to detect duplicates or malformed hashes.

The expected output should be empty; any line printed indicates a duplicate that should be fixed.


🏁 Script executed:

#!/bin/bash
# 1. List every `sourceSHA` we now have.
rg --no-heading --line-number '^sourceSHA:' docs | sort > /tmp/all_sha.txt

# 2. Show any duplicates (lines appearing more than once).
cut -d':' -f3 /tmp/all_sha.txt | sort | uniq -d

Length of output: 115


Update the duplicate-sourceSHA check script

The current script’s cut -d':' -f3 extracts the literal sourceSHA token (hence the “duplicate”), not the SHA value. Adjust it to pull the actual hash. For example:

#!/bin/bash
# Extract only the SHA values, then look for repeats
rg --no-heading '^sourceSHA:' docs \
  | awk -F': ' '{print $2}' \
  | sort \
  | uniq -d

Or using ripgrep’s PCRE support:

#!/bin/bash
rg -oP 'sourceSHA:\s*\K[0-9a-f]+' docs \
  | sort \
  | uniq -d

Any output indicates a duplicate SHA that should be corrected.

🤖 Prompt for AI Agents
In
docs/en/apis/advanced_apis/results/results_v1alpha2_parents_results_uuid_records.mdx
at line 3, the duplicate-`sourceSHA` check script incorrectly extracts the
literal token "sourceSHA" instead of the actual SHA value. Fix this by modifying
the script to extract the SHA hash after the colon, for example, using awk with
field separator ': ' to print the second field or using ripgrep with a regex
that captures only the SHA hash. This ensures the script correctly identifies
duplicate SHA values.

@danielfbm danielfbm merged commit 0e70d16 into main Jul 1, 2025
@danielfbm danielfbm deleted the revert-1-main branch July 1, 2025 08:51
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