From eeab017f04748d436ae81b5a00ceda964ca0d579 Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Fri, 22 May 2026 10:12:25 -0700 Subject: [PATCH 1/5] Auto content update (2026-05-22 17:12:25) --- .github/workflows/lint.yml | 13 ++++++++++- .gitignore | 47 +++++++------------------------------- package.json | 14 +++++------- 3 files changed, 26 insertions(+), 48 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 622a14f0..8c66a80e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,9 +10,19 @@ jobs: steps: - name: Checkout uses: actions/checkout@v6 + with: + fetch-depth: 0 + + - name: Check for src/pages changes + id: changes + run: | + git diff --name-only origin/${{ github.base_ref }}...HEAD | grep -q '^src/pages/' \ + && echo "changed=true" >> $GITHUB_OUTPUT \ + || echo "changed=false" >> $GITHUB_OUTPUT - name: Lint id: lint + if: steps.changes.outputs.changed == 'true' continue-on-error: true run: npx --yes github:AdobeDocs/adp-devsite-utils runLint -v @@ -28,7 +38,8 @@ jobs: path: | linter-report.txt pr-number.txt + if-no-files-found: ignore - name: Fail if linter found errors - if: steps.lint.outcome == 'failure' + if: steps.changes.outputs.changed == 'true' && steps.lint.outcome == 'failure' run: exit 1 diff --git a/.gitignore b/.gitignore index 09416613..4ee2f6f4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,47 +1,16 @@ -# .gitignore -.editorconfig -.idea +# OS .DS_Store -.vscode/* -# npm yarn -node_modules -package-lock.json -yarn-error.log -.cursor-symlink-impl.log -.pnp.* -.yarn/* - -# keep in repo -!.gitignore -!.yarn.lock -!.yarnrc.yml -!.yarn/patches -!.yarn/plugins -!.yarn/releases -!.yarn/sdks -!.yarn/versions +# IDE +.vscode -# gatsby files +# environment variables .env -.cache -public -# cypress -cypress/videos -cypress/screenshots - -# lerna -lerna-debug.log +# npm +node_modules +package-lock.json -# Added by update-bot -.vscode -.history -.actrc -.secrets -local-test.yml -.yalc -yalc.lock -linter-output.txt +# generated by .github/workflows/lint.yml linter-report.txt diff --git a/package.json b/package.json index 573cd870..09f8ad8b 100644 --- a/package.json +++ b/package.json @@ -1,15 +1,18 @@ { - "name": "dev-site-documentation-template", + "name": "dev-docs-template", "version": "1.0.0", "license": "Apache-2.0", "repository": { "type": "git", - "url": "https://github.com/AdobeDocs/dev-site-documentation-template" + "url": "https://github.com/AdobeDocs/dev-docs-template" }, "author": { "name": "Tim Kim", "url": "https://github.com/timkim" }, + "engines": { + "node": "^24.11.0" + }, "scripts": { "dev": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils dev", "buildNavigation": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils buildNavigation -v", @@ -24,11 +27,6 @@ "link:externalLinkOnly": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils runLint --external-links-only -v", "link:checkAllLinks": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils runLint --internal-links-only --external-links-only -v", "redirectCheck:stage": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker stage --verbose", - "redirectCheck:prod": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker prod --verbose", - "lint:openapi": "npx --yes @redocly/cli@latest lint", - "lint:openapi:all": "sh -c 'if find static -name \"*.json\" -print -quit 2>/dev/null | grep -q .; then npx --yes @redocly/cli@latest lint static/; else echo \"No OpenAPI JSON files under static/\"; fi'" - }, - "engines": { - "node": "^24.11.0" + "redirectCheck:prod": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker prod --verbose" } } From b416e5e848e0669077afb26bd7608e9b44f93b03 Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Fri, 22 May 2026 10:52:02 -0700 Subject: [PATCH 2/5] fix: preserve repo-specific fields in package.json --- package.json | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 09f8ad8b..9f0f9488 100644 --- a/package.json +++ b/package.json @@ -1,18 +1,15 @@ { - "name": "dev-docs-template", + "name": "ff-services-docs", "version": "1.0.0", "license": "Apache-2.0", "repository": { "type": "git", - "url": "https://github.com/AdobeDocs/dev-docs-template" + "url": "https://github.com/AdobeDocs/ff-services-docs" }, "author": { "name": "Tim Kim", "url": "https://github.com/timkim" }, - "engines": { - "node": "^24.11.0" - }, "scripts": { "dev": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils dev", "buildNavigation": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils buildNavigation -v", @@ -27,6 +24,11 @@ "link:externalLinkOnly": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils runLint --external-links-only -v", "link:checkAllLinks": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils runLint --internal-links-only --external-links-only -v", "redirectCheck:stage": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker stage --verbose", - "redirectCheck:prod": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker prod --verbose" + "redirectCheck:prod": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker prod --verbose", + "lint:openapi": "npx --yes @redocly/cli@latest lint", + "lint:openapi:all": "sh -c 'if find static -name \"*.json\" -print -quit 2>/dev/null | grep -q .; then npx --yes @redocly/cli@latest lint static/; else echo \"No OpenAPI JSON files under static/\"; fi'" + }, + "engines": { + "node": "^24.11.0" } } From c77830f1d1b2d8efeb4dd97a1ffd100466317ca7 Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Fri, 22 May 2026 10:52:03 -0700 Subject: [PATCH 3/5] fix: preserve repo-specific entries in .gitignore --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 4ee2f6f4..e7887a45 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ - # OS .DS_Store @@ -10,6 +9,7 @@ # npm node_modules +.cursor-symlink-impl.log package-lock.json # generated by .github/workflows/lint.yml From 366ed7d60b43ac4b3b08e4b27625ae7722cb3448 Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Wed, 27 May 2026 08:52:55 -0700 Subject: [PATCH 4/5] Auto content update (2026-05-27 15:52:55) --- .github/workflows/lint.yml | 8 ++++++-- .gitignore | 2 +- package.json | 14 ++++++-------- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 8c66a80e..bec32fec 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,8 +15,10 @@ jobs: - name: Check for src/pages changes id: changes + env: + BASE_REF: ${{ github.base_ref }} run: | - git diff --name-only origin/${{ github.base_ref }}...HEAD | grep -q '^src/pages/' \ + git diff --name-only "origin/${BASE_REF}...HEAD" | grep -q '^src/pages/' \ && echo "changed=true" >> $GITHUB_OUTPUT \ || echo "changed=false" >> $GITHUB_OUTPUT @@ -28,7 +30,9 @@ jobs: - name: Save PR number if: always() - run: echo "${{ github.event.pull_request.number }}" > pr-number.txt + env: + PR_NUMBER: ${{ github.event.pull_request.number }} + run: echo "$PR_NUMBER" > pr-number.txt - name: Upload linter report if: always() diff --git a/.gitignore b/.gitignore index e7887a45..4ee2f6f4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ + # OS .DS_Store @@ -9,7 +10,6 @@ # npm node_modules -.cursor-symlink-impl.log package-lock.json # generated by .github/workflows/lint.yml diff --git a/package.json b/package.json index 9f0f9488..09f8ad8b 100644 --- a/package.json +++ b/package.json @@ -1,15 +1,18 @@ { - "name": "ff-services-docs", + "name": "dev-docs-template", "version": "1.0.0", "license": "Apache-2.0", "repository": { "type": "git", - "url": "https://github.com/AdobeDocs/ff-services-docs" + "url": "https://github.com/AdobeDocs/dev-docs-template" }, "author": { "name": "Tim Kim", "url": "https://github.com/timkim" }, + "engines": { + "node": "^24.11.0" + }, "scripts": { "dev": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils dev", "buildNavigation": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils buildNavigation -v", @@ -24,11 +27,6 @@ "link:externalLinkOnly": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils runLint --external-links-only -v", "link:checkAllLinks": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils runLint --internal-links-only --external-links-only -v", "redirectCheck:stage": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker stage --verbose", - "redirectCheck:prod": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker prod --verbose", - "lint:openapi": "npx --yes @redocly/cli@latest lint", - "lint:openapi:all": "sh -c 'if find static -name \"*.json\" -print -quit 2>/dev/null | grep -q .; then npx --yes @redocly/cli@latest lint static/; else echo \"No OpenAPI JSON files under static/\"; fi'" - }, - "engines": { - "node": "^24.11.0" + "redirectCheck:prod": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker prod --verbose" } } From 4a10a4e7c3d121eb18497c3cad2982c1a95f0d88 Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Wed, 27 May 2026 09:05:26 -0700 Subject: [PATCH 5/5] fix: preserve repo-specific fields in package.json --- package.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 09f8ad8b..846085ff 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { - "name": "dev-docs-template", + "name": "ff-services-docs", "version": "1.0.0", "license": "Apache-2.0", "repository": { "type": "git", - "url": "https://github.com/AdobeDocs/dev-docs-template" + "url": "https://github.com/AdobeDocs/ff-services-docs" }, "author": { "name": "Tim Kim", @@ -27,6 +27,8 @@ "link:externalLinkOnly": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils runLint --external-links-only -v", "link:checkAllLinks": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils runLint --internal-links-only --external-links-only -v", "redirectCheck:stage": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker stage --verbose", - "redirectCheck:prod": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker prod --verbose" + "redirectCheck:prod": "npx --yes --prefer-online github:AdobeDocs/adp-devsite-utils redirectChecker prod --verbose", + "lint:openapi": "npx --yes @redocly/cli@latest lint", + "lint:openapi:all": "sh -c 'if find static -name \"*.json\" -print -quit 2>/dev/null | grep -q .; then npx --yes @redocly/cli@latest lint static/; else echo \"No OpenAPI JSON files under static/\"; fi'" } }