Skip to content

Conversation

@RubenSandwich
Copy link
Contributor

Automated Docs PR

TFE Series: v000011
TFE Release: 1

This copies over from:

This PR was created via:

Triggered by creation of branch:

Reviewers

Note: The GH App currently does not have permissions to request PR reviews from teams.

  • @hashicorp/ptfe-review
  • @hashicorp/web-platform

heatlikeheatwave and others added 30 commits March 20, 2025 17:56
…than *.mdx files (#226) (#231)

* Broken link checker should only run on .mdx files

* Add a test to catch a broken link

* Edit a JSON file

* Move to always using head.sha when link checking

* Miss a place for the head.sha

* print the changed files

* Move back to using nick-fields/retry

* Fix misspelling and add another test

* Fix wrong var being pass in

* Fix misspelling of variable

* Found another misspelling :face_palm:

* get-changed-files output is space not comma sep

* Give action a clearer name

* Fix dev-portal cache

* Revert testing changes

* Put back space
* Add readme

* Update command in package.json

* Add test output folder to gitignore

* Shorten example response

* Add default values for old and new APIs

---------

Co-authored-by: Ruben Nic <RubenSandwich@users.noreply.github.com>
* Fix content not showing up in preview and link checker checking more than *.mdx files (#226)

* Broken link checker should only run on .mdx files

* Add a test to catch a broken link

* Edit a JSON file

* Move to always using head.sha when link checking

* Miss a place for the head.sha

* print the changed files

* Move back to using nick-fields/retry

* Fix misspelling and add another test

* Fix wrong var being pass in

* Fix misspelling of variable

* Found another misspelling :face_palm:

* get-changed-files output is space not comma sep

* Give action a clearer name

* Fix dev-portal cache

* Revert testing changes

* Put back space

* Enable vercel deployment protection bypass (#230)

* Expand lychee command to multiple lines

This makes the arguments easier to read (multiple small lines rather than one
line line that stretches for miles)

* Add vercel protection bypass header to lychee command

* Disable prod workflows outside of public repo (#234)

* Disable prod workflows outside of public repo

* Moving to using job level if

* Mock imports in app/utils/utils.test.ts to run without prebuild step (#238)

* Mock import in app/api/content/[productSlug]/redirects/route.test.ts to run without prebuild step (#241)

* Mock imports in app/api/all-docs-paths/route.test.ts to run without prebuild step (#239)

* Mock imports in app/utils/allDocsPaths.test.ts to run without prebuild step (#237)

* repo sync between public and internal repos for web-unifed-docs GHA (#236)

* Change repo owner to hashicorp in repo-sync workflow (#242)

* Mock import of version metadata in app/api/content/[productSlug]/version-metadata/route.ts (#240)

* Mock import of version metadata (#244)

* Mock import of versionMetadata in app/api/assets/[productSlug]/[version]/[...assetPath]/route.test.ts(#245)

* Mock imports in app/api/content/[productSlug]/doc/[version]/[...docsPath]/route.test.ts (#243)

* Mock imports for versionMetadata.json, docsPathsAllVersions.json, and productConfig.mjs

* Remove path navigation from fixtures import (#1) (#247)

* sync changes from web-unified-docs-internal

* Update method from compareCommits to compareCommitsWithBasehead (#249)

* Remove prebuild from test action (#250)

* Add develop to target branches

---------

Co-authored-by: Ruben Nic <RubenSandwich@users.noreply.github.com>
Co-authored-by: Robert Main <50675045+rmainwork@users.noreply.github.com>
Co-authored-by: HashiBot <62622282+hashibot-web@users.noreply.github.com>
* Change arg to d for drop-keys

* Added functionality to test content-versions API

* Add examples to the readme
* Fix content not showing up in preview and link checker checking more than *.mdx files (#226)

* Broken link checker should only run on .mdx files

* Add a test to catch a broken link

* Edit a JSON file

* Move to always using head.sha when link checking

* Miss a place for the head.sha

* print the changed files

* Move back to using nick-fields/retry

* Fix misspelling and add another test

* Fix wrong var being pass in

* Fix misspelling of variable

* Found another misspelling :face_palm:

* get-changed-files output is space not comma sep

* Give action a clearer name

* Fix dev-portal cache

* Revert testing changes

* Put back space

* Enable vercel deployment protection bypass (#230)

* Expand lychee command to multiple lines

This makes the arguments easier to read (multiple small lines rather than one
line line that stretches for miles)

* Add vercel protection bypass header to lychee command

* Disable prod workflows outside of public repo (#234)

* Disable prod workflows outside of public repo

* Moving to using job level if

* Mock imports in app/utils/utils.test.ts to run without prebuild step (#238)

* Mock import in app/api/content/[productSlug]/redirects/route.test.ts to run without prebuild step (#241)

* Mock imports in app/api/all-docs-paths/route.test.ts to run without prebuild step (#239)

* Mock imports in app/utils/allDocsPaths.test.ts to run without prebuild step (#237)

* repo sync between public and internal repos for web-unifed-docs GHA (#236)

* Change repo owner to hashicorp in repo-sync workflow (#242)

* Mock import of version metadata in app/api/content/[productSlug]/version-metadata/route.ts (#240)

* Mock import of version metadata (#244)

* Mock import of versionMetadata in app/api/assets/[productSlug]/[version]/[...assetPath]/route.test.ts(#245)

* Mock imports in app/api/content/[productSlug]/doc/[version]/[...docsPath]/route.test.ts (#243)

* Mock imports for versionMetadata.json, docsPathsAllVersions.json, and productConfig.mjs

* Remove path navigation from fixtures import (#1)

* Remove path navigation from fixtures import (#1) (#247)

* sync changes from web-unified-docs-internal

* Update method from compareCommits to compareCommitsWithBasehead (#249)

* Remove prebuild from test action (#250)

* Add develop to target branches

* Remove paths arg to allow Test & Lint action to run on every PR (#253)

* Remove PR lock logic from repo-sync workflow (#263)

* Repo sync (#34)

* Remove path navigation from fixtures import (#1) (#247)

* sync changes from web-unified-docs-internal

* Update method from compareCommits to compareCommitsWithBasehead (#249)

* Remove prebuild from test action (#250)

* Add develop to target branches

* Remove paths arg to allow Test & Lint action to run on every PR (#253)

* Remove PR lock logic from repo-sync workflow (#263)

---------

Co-authored-by: Heat Hamilton <55773810+heatlikeheatwave@users.noreply.github.com>

* Repo sync (#291)



* Repo sync (#34)

* sync changes from web-unified-docs-internal

* Update method from compareCommits to compareCommitsWithBasehead (#249)

* Remove prebuild from test action (#250)

* Add develop to target branches

* Remove paths arg to allow Test & Lint action to run on every PR (#253)

* Remove PR lock logic from repo-sync workflow (#263)

---------

Co-authored-by: Heat Hamilton <55773810+heatlikeheatwave@users.noreply.github.com>

* Repo sync (#38)

* sync changes from web-unified-docs-internal

* Update method from compareCommits to compareCommitsWithBasehead (#249)

* Remove prebuild from test action (#250)

* Add develop to target branches

* Remove paths arg to allow Test & Lint action to run on every PR (#253)

* Remove PR lock logic from repo-sync workflow (#263)

---------

Co-authored-by: Heat Hamilton <55773810+heatlikeheatwave@users.noreply.github.com>

* Add Vercel link to deploy preview (#39)

* Add Vercel link to deploy job (#290)

* Fix for dev-portal is failing to build in UDR internal repo

* Repo sync (#326)

* Repo sync (#73)

* Fix content loading (#235)

* Use vercel protection bypass headcer

Builds were previously breaking when UDR attempted to make HTTP requests to the
CDN (vercel public folder) to retrieve content.

Adding the `x-vercel-protection-bypass` header should fix that

* Add use server directive

* Revert "Add use server directive"

Adding a 'use server' directive to this file causes 404s on the content
API.

This reverts commit 4f2ecae.

---------

Co-authored-by: Ruben Nic <RubenSandwich@users.noreply.github.com>
Co-authored-by: Heat Hamilton <55773810+heatlikeheatwave@users.noreply.github.com>
Co-authored-by: HashiBot <62622282+hashibot-web@users.noreply.github.com>
* Remove terraform-docs-common from develop branch

* Comment out terraform-docs-common

Disable terraform-docs-common in product config

* Undo removal of content dir mapping

---------

Co-authored-by: Heat Hamilton <55773810+heatlikeheatwave@users.noreply.github.com>
Co-authored-by: Ruben Nic <RubenSandwich@users.noreply.github.com>
* Change image path from public/img to img

Comment out themed images and add TODO for when this is supported

Add TODO to remove non-themed image once themed images are supported

* Remove commented out images

* Delete images from v1.15.x and v1.16.x

* Copy over images from v1.17.x
# Conflicts:
#	CODEOWNERS
#	content/terraform-docs-agents/v1.17.x/docs/cloud-docs/agents/request-forwarding.mdx
#	content/terraform-docs-agents/v1.17.x/docs/cloud-docs/agents/telemetry.mdx
#	content/terraform-docs-agents/v1.18.x/docs/cloud-docs/agents/request-forwarding.mdx
#	content/terraform-docs-agents/v1.18.x/docs/cloud-docs/agents/telemetry.mdx
#	content/terraform-docs-agents/v1.19.x/docs/cloud-docs/agents/request-forwarding.mdx
#	content/terraform-docs-agents/v1.19.x/docs/cloud-docs/agents/telemetry.mdx
#	content/terraform-docs-agents/v1.20.x/docs/cloud-docs/agents/request-forwarding.mdx
#	content/terraform-docs-agents/v1.20.x/docs/cloud-docs/agents/telemetry.mdx
#	content/terraform-docs-agents/v1.21.x/docs/cloud-docs/agents/request-forwarding.mdx
#	content/terraform-docs-agents/v1.21.x/docs/cloud-docs/agents/telemetry.mdx
#	content/terraform-docs-agents/v1.22.x/docs/cloud-docs/agents/request-forwarding.mdx
#	content/terraform-docs-agents/v1.22.x/docs/cloud-docs/agents/telemetry.mdx
* Add clone services repo script

* Move config files into script folder

* Add execute changelog script

* add create pull request script

* add workflow file

* Workflow needs to run once to test

* Add the release notes PR url to the summary

* Correctly get env.VERSION

* Correctly expand PR_URL

* Just don't use PR_URL as it isn't expanding

* Remove push dispatch, as no longer needed

* I don't believe PR_NUMBER is being set correctly

* Set PR_NUMBER in multiple steps

* Try each step separately

* Return pr_url from ruby

* Let pr_url should be a var

* Should be double quotes

* Fix summary output

* Add gem lock file

* Add push so I can test workflow

* A few more places where ptfe-releases is used

* Rename ptfe -> tfe

* content folder should be terraform-enterprise

* Forgot to update release_file loc

* Prevent from running in public UDR

* Output public UDR error to GITHUB_STEP_SUMMARY

* Apply suggestions from code review

Co-authored-by: Leah Bush <157434496+LeahMarieBush@users.noreply.github.com>

* Remove commented out code

---------

Co-authored-by: Leah Bush <157434496+LeahMarieBush@users.noreply.github.com>
* Add in ptfe-releases content

* Add tfe-releases copyright headers
@RubenSandwich RubenSandwich deleted the docs/v000011-1 branch May 21, 2025 18:40
hashibot-web added a commit that referenced this pull request Sep 16, 2025
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.

5 participants