diff --git a/.github/actions/lib/action-context.js b/.github/actions-scripts/lib/action-context.js similarity index 100% rename from .github/actions/lib/action-context.js rename to .github/actions-scripts/lib/action-context.js diff --git a/.github/actions/lib/debug-time-taken.js b/.github/actions-scripts/lib/debug-time-taken.js similarity index 100% rename from .github/actions/lib/debug-time-taken.js rename to .github/actions-scripts/lib/debug-time-taken.js diff --git a/.github/actions/lib/get-env-inputs.js b/.github/actions-scripts/lib/get-env-inputs.js similarity index 100% rename from .github/actions/lib/get-env-inputs.js rename to .github/actions-scripts/lib/get-env-inputs.js diff --git a/.github/actions/lib/upload-artifact.js b/.github/actions-scripts/lib/upload-artifact.js similarity index 100% rename from .github/actions/lib/upload-artifact.js rename to .github/actions-scripts/lib/upload-artifact.js diff --git a/.github/actions/rendered-content-link-checker.js b/.github/actions-scripts/rendered-content-link-checker.js similarity index 100% rename from .github/actions/rendered-content-link-checker.js rename to .github/actions-scripts/rendered-content-link-checker.js diff --git a/.github/workflows/link-check-daily.yml b/.github/workflows/link-check-daily.yml index bb1945d81d..0786f2e21e 100644 --- a/.github/workflows/link-check-daily.yml +++ b/.github/workflows/link-check-daily.yml @@ -82,7 +82,7 @@ jobs: # treat it as a warning and not as a broken link. EXTERNAL_SERVER_ERRORS_AS_WARNINGS: true timeout-minutes: 30 - run: node .github/actions/rendered-content-link-checker.js + run: node .github/actions-scripts/rendered-content-link-checker.js - name: Upload artifact(s) uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 diff --git a/.github/workflows/link-check-on-pr.yml b/.github/workflows/link-check-on-pr.yml index b4e5676369..20ce5be1d8 100644 --- a/.github/workflows/link-check-on-pr.yml +++ b/.github/workflows/link-check-on-pr.yml @@ -85,7 +85,7 @@ jobs: # GITHUB_TOKEN: ${{ secrets.DOCS_BOT_FR }} # SHOULD_COMMENT: true # CREATE_REPORT: false - # run: node .github/actions/rendered-content-link-checker.js + # run: node .github/actions-scripts/rendered-content-link-checker.js - name: Link check all pages (internal links only) id: all_links @@ -101,7 +101,7 @@ jobs: # we're filtering on anyway once the list of all pages has # been loaded. ENABLED_LANGUAGES: en - run: node .github/actions/rendered-content-link-checker.js + run: node .github/actions-scripts/rendered-content-link-checker.js - name: Upload artifact(s) uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 diff --git a/script/rendered-content-link-checker.js b/script/rendered-content-link-checker.js index 49c60e766d..0c2d1d5385 100755 --- a/script/rendered-content-link-checker.js +++ b/script/rendered-content-link-checker.js @@ -10,7 +10,7 @@ import fs from 'fs' import path from 'path' import { program, Option, InvalidArgumentError } from 'commander' -import renderedContentLinkChecker from '../.github/actions/rendered-content-link-checker.js' +import renderedContentLinkChecker from '../.github/actions-scripts/rendered-content-link-checker.js' import { getCoreInject, getUploadArtifactInject } from './helpers/action-injections.js' import github from './helpers/github.js'