From de2eae44903528ca977bcf8b23f09f56ad98e55a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 15 Jan 2024 01:08:10 +0000 Subject: [PATCH 1/6] chore(deps): update tj-actions/changed-files action to v41.1.1 --- .github/workflows/vale.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/vale.yaml b/.github/workflows/vale.yaml index 460f30b04..bbc3858a1 100644 --- a/.github/workflows/vale.yaml +++ b/.github/workflows/vale.yaml @@ -13,7 +13,7 @@ jobs: - name: Get changed files id: changed-files - uses: tj-actions/changed-files@v41.0.1 + uses: tj-actions/changed-files@v41.1.1 with: files: | **/*.{md,mdx} From b1518b12b89ceac3c24deaf42fd75a034be22c4c Mon Sep 17 00:00:00 2001 From: Andrey Bykov Date: Mon, 15 Jan 2024 14:24:50 +0100 Subject: [PATCH 2/6] fix(academy): using types: add missing link (#833) --- .../academy/webscraping/switching_to_typescript/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/academy/webscraping/switching_to_typescript/installation.md b/sources/academy/webscraping/switching_to_typescript/installation.md index c4212398e..ecbd5b620 100644 --- a/sources/academy/webscraping/switching_to_typescript/installation.md +++ b/sources/academy/webscraping/switching_to_typescript/installation.md @@ -156,4 +156,4 @@ Outputted is `2099`, exactly what we expected. Awesome! ## Next up {#next} -In the [next lesson], we'll be discussing how to use some of the core types that TypeScript offers. +In the [next lesson](./using_types.md)!, we'll be discussing how to use some of the core types that TypeScript offers. From 29d9bfce6f35be696f2a7600c826e41a9f9f790e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Drobn=C3=ADk?= Date: Mon, 15 Jan 2024 14:28:44 +0100 Subject: [PATCH 3/6] chore(api): add url of Actor in store (#826) --- sources/platform/api_v2/api_v2_reference.apib | 1 + 1 file changed, 1 insertion(+) diff --git a/sources/platform/api_v2/api_v2_reference.apib b/sources/platform/api_v2/api_v2_reference.apib index a337256e1..a7165eddb 100644 --- a/sources/platform/api_v2/api_v2_reference.apib +++ b/sources/platform/api_v2/api_v2_reference.apib @@ -5124,6 +5124,7 @@ a summary of your limits, and your current usage. - description: `My public actor!` (string, nullable) - pictureUrl: `https://...` (string, nullable) - userPictureUrl: `https://...` (string, nullable) +- url: `https://...` (string, nullable) - stats (object, required) - totalBuilds: 9 (number, required) - totalRuns: 16 (number, required) From 15f5c090e53039921b65b7c74e28bf352374fab2 Mon Sep 17 00:00:00 2001 From: TCMO <92638966+TC-MO@users.noreply.github.com> Date: Mon, 15 Jan 2024 16:01:20 +0100 Subject: [PATCH 4/6] docs: changes to vale (#834) add new regex to ignore the word apify within URLs add new msoft styleguide rule ignores --- .github/styles/Apify/Capitalization.yml | 4 +++- vale.ini | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/styles/Apify/Capitalization.yml b/.github/styles/Apify/Capitalization.yml index d58bb1d36..cbcbc00c1 100644 --- a/.github/styles/Apify/Capitalization.yml +++ b/.github/styles/Apify/Capitalization.yml @@ -5,5 +5,7 @@ level: error tokens: - '\bactor\b' - '\bactors\b' - - '\bapify\b(?!-\w+)' + - '(? Date: Mon, 15 Jan 2024 20:39:17 +0530 Subject: [PATCH 5/6] docs: fix_commands_in_docs (#830) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ![Screenshot 2024-01-14 at 1 18 16 AM](https://github.com/apify/apify-docs/assets/53312820/019b5946-7b9f-4fd7-9075-1a52c16b8f63) It should be only one `apify` in each of them --- .../platform/actors/development/quick_start/start_web_ide.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sources/platform/actors/development/quick_start/start_web_ide.md b/sources/platform/actors/development/quick_start/start_web_ide.md index f6753ed25..ddf5571d4 100644 --- a/sources/platform/actors/development/quick_start/start_web_ide.md +++ b/sources/platform/actors/development/quick_start/start_web_ide.md @@ -81,13 +81,13 @@ apify login Then, you can pull your Actor using the following command: ```bash -apify apify pull [actor_name] +apify pull [actor_name] ``` or with specified version: ```bash -apify apify pull [actor_name] --version [version_number] +apify pull [actor_name] --version [version_number] ``` ## 6. Iterate From b0445c89f149edebc542f5bb7f2bcadaf9c71fdd Mon Sep 17 00:00:00 2001 From: TCMO <92638966+TC-MO@users.noreply.github.com> Date: Mon, 15 Jan 2024 16:16:17 +0100 Subject: [PATCH 6/6] docs: change the way markdownlint is called as GH Action (#829) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit change markdownlint to lint only changed files within a new PR --------- Co-authored-by: Martin Adámek --- .github/workflows/test.yaml | 47 +++++++++++++++++++++++++------------ 1 file changed, 32 insertions(+), 15 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 294e73433..e726500a4 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -34,24 +34,41 @@ jobs: name: Lint markdown content runs-on: ubuntu-latest steps: - - name: Checkout Source code - uses: actions/checkout@v4 + - name: Checkout Source code + uses: actions/checkout@v4 - - name: Use Node.js 18 - uses: actions/setup-node@v4 - with: - node-version: 18 - cache: 'npm' - cache-dependency-path: 'package-lock.json' - registry-url: 'https://npm.pkg.github.com/' - scope: '@apify-packages' + - name: Get changed files + id: changed-files + uses: tj-actions/changed-files@v41.0.0 + with: + files: | + **/*.md + **/*.mdx + separator: "," - - name: Install Dependencies - run: npm ci --force - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: Use Node.js 18 + uses: actions/setup-node@v4 + with: + node-version: 18 + cache: 'npm' + cache-dependency-path: 'package-lock.json' + registry-url: 'https://npm.pkg.github.com/' + scope: '@apify-packages' + + - name: Install Dependencies + run: npm ci --force + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + + - name: List and Lint Changed Markdown Files + env: + ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }} + run: | + IFS=',' read -ra FILE_ARRAY <<< "$ALL_CHANGED_FILES" + for file in "${FILE_ARRAY[@]}"; do + npx markdownlint "$file" + done - - run: npm run lint:md lint_code: name: Lint app code