diff --git a/.github/workflows/validate-external-links.yml b/.github/workflows/validate-external-links.yml index 2126d0204..eff5c23f0 100644 --- a/.github/workflows/validate-external-links.yml +++ b/.github/workflows/validate-external-links.yml @@ -1,8 +1,6 @@ name: External link validation on: - pull_request: - types: [opened, edited] schedule: - cron: 0 11 * * * @@ -13,8 +11,7 @@ jobs: - uses: actions/checkout@v4 - name: lychee Link Checker id: lychee - uses: lycheeverse/lychee-action@v1.0.8 + uses: lycheeverse/lychee-action@v1.9.3 with: + fail: true args: --accept=200,403,429 -s "https" "**/*.html" "**/*.md" "**/*.txt" "**/*.json" --exclude "https://github.com/\[your*" --exclude "https://localhost:9200" --exclude-mail - - name: Fail if there were link errors - run: exit ${{ steps.lychee.outputs.exit_code }} diff --git a/guides/plugins/apps/administration/adding-snippets.md b/guides/plugins/apps/administration/adding-snippets.md index b4a6f4704..860a60d05 100644 --- a/guides/plugins/apps/administration/adding-snippets.md +++ b/guides/plugins/apps/administration/adding-snippets.md @@ -9,4 +9,4 @@ nav: Adding snippets to the administration works the same way for plugins and apps. The only difference is the file structure and that apps are not allowed to override existing snippet keys. The only thing to do, therefore, is to create new files in the following directory: `/Resources/app/administration/snippet` Additionally, you need JSON file for each language you want to support, using its specific language locale, e.g. `de-DE.json`, `en-GB.json`. -Since everything else works the same, please refer to our [Adding translations for plugins](../plugins/administration/adding-snippets) guide for more information. +Since everything else works the same, please refer to our [Adding translations for plugins](../../plugins/administration/adding-snippets) guide for more information.