From d86d08f2da228f094f86a6a34c31138dee4ff931 Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Fri, 22 May 2026 09:40:36 -0700 Subject: [PATCH 1/3] Auto content update (2026-05-22 16:40:36) --- .github/workflows/lint.yml | 15 ++++++++--- .gitignore | 52 +++++++------------------------------- package.json | 15 ++--------- 3 files changed, 23 insertions(+), 59 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 44d6c6b7..8c66a80e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -3,8 +3,6 @@ name: Lint on: pull_request: branches: [main] - paths: - - 'src/pages/**' jobs: lint: @@ -12,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 @@ -30,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 bf1f02c7..4ee2f6f4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,50 +1,16 @@ -# OS and IDE generated files # -############################## -.DS_Store -.vscode -.history -.idea -.editorconfig -# npm yarn -node_modules -package-lock.json -yarn-error.log -yarn.lock -.pnp.* -.yarn/* +# OS +.DS_Store -# 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 - -# local actions -.actrc -.secrets -local-test.yml - -# yalc -.yalc -yalc.lock +# npm +node_modules +package-lock.json -# txt -linter-output.txt +# generated by .github/workflows/lint.yml linter-report.txt diff --git a/package.json b/package.json index 330066dc..09f8ad8b 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,10 @@ { - "private": true, - "name": "adobe-dev-console", + "name": "dev-docs-template", "version": "1.0.0", "license": "Apache-2.0", "repository": { "type": "git", - "url": "https://github.com/AdobeDocs/adobe-dev-console" + "url": "https://github.com/AdobeDocs/dev-docs-template" }, "author": { "name": "Tim Kim", @@ -14,16 +13,6 @@ "engines": { "node": "^24.11.0" }, - "dependencies": { - "@adobe/gatsby-theme-aio": "^4.14.18", - "gatsby": "4.22.0", - "react": "^17.0.2", - "react-dom": "^17.0.2" - }, - "resolutions": { - "sharp": "0.33.0", - "gatsby-sharp": "1.12.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", From 7219dcdb065a757890fcdbf9467683c919bee44b Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Fri, 22 May 2026 09:45:29 -0700 Subject: [PATCH 2/3] fix: preserve repo-specific fields, drop Gatsby deps per update-bot PR policy --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 09f8ad8b..d677a22e 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,11 @@ { - "name": "dev-docs-template", + "private": true, + "name": "adobe-dev-console", "version": "1.0.0", "license": "Apache-2.0", "repository": { "type": "git", - "url": "https://github.com/AdobeDocs/dev-docs-template" + "url": "https://github.com/AdobeDocs/adobe-dev-console" }, "author": { "name": "Tim Kim", From 9485bde9a45b177000e490a3c6446d1c7ebf92e3 Mon Sep 17 00:00:00 2001 From: melissag-ensemble <120194874+melissag-ensemble@users.noreply.github.com> Date: Fri, 22 May 2026 09:45:30 -0700 Subject: [PATCH 3/3] fix: apply template .gitignore