Skip to content

Commit 666475b

Browse files
committed
chore: merge master into IA-test---stage-2
2 parents 8db6a25 + 7e20042 commit 666475b

139 files changed

Lines changed: 1067 additions & 1600 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Bump OpenAPI version
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
paths:
8+
- 'apify-api/**'
9+
10+
jobs:
11+
bump-version:
12+
name: Bump OpenAPI version
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v6
17+
with:
18+
token: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}
19+
20+
- name: Bump OpenAPI version
21+
run: echo "v2-$(date -u +%Y-%m-%dT%H%M%SZ)" > apify-api/openapi/components/version.yaml
22+
23+
- name: Commit changes
24+
id: commit
25+
uses: EndBug/add-and-commit@v9
26+
with:
27+
author_name: github-actions[bot]
28+
author_email: 41898282+github-actions[bot]@users.noreply.github.com
29+
message: "chore(openapi): Update OpenAPI version [skip ci]"

.github/workflows/lychee.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
- name: Run Lychee Link Checker
3636
id: lychee
37-
uses: lycheeverse/lychee-action@v2.7.0
37+
uses: lycheeverse/lychee-action@v2.8.0
3838
env:
3939
GITHUB_TOKEN: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}
4040
with:

.github/workflows/openapi-ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
run: npm run openapi:build
6666

6767
- name: Upload bundles
68-
uses: actions/upload-artifact@v6
68+
uses: actions/upload-artifact@v7
6969
with:
7070
name: openapi-bundles
7171
path: |
@@ -97,7 +97,7 @@ jobs:
9797
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
9898

9999
- name: Download bundles
100-
uses: actions/download-artifact@v7
100+
uses: actions/download-artifact@v8
101101
with:
102102
name: openapi-bundles
103103
path: static/api/

.github/workflows/publish-to-npm.yaml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
- master
77
workflow_dispatch:
88

9+
concurrency:
10+
group: publish-theme
11+
cancel-in-progress: false
12+
913
permissions:
1014
id-token: write
1115
contents: write
@@ -69,7 +73,10 @@ jobs:
6973
- name: Bump the theme version
7074
run: |
7175
cd "$GITHUB_WORKSPACE/apify-docs-theme"
72-
npm version patch --legacy-peer-deps
76+
PACKAGE_NAME=$(jq -r .name package.json)
77+
LATEST_VERSION=$(npm show "$PACKAGE_NAME" version 2>/dev/null || jq -r .version package.json)
78+
npm pkg set "version=$LATEST_VERSION"
79+
npm version patch --no-git-tag-version
7380
7481
- name: Deploy theme to npm
7582
run: |
@@ -95,13 +102,13 @@ jobs:
95102
npm show "$PACKAGE_NAME@$PACKAGE_VER" # fails if the package is not available, succeeds if it is
96103
97104
- name: Commit the new theme version
98-
uses: stefanzweifel/git-auto-commit-action@v7
105+
continue-on-error: true
106+
uses: EndBug/add-and-commit@v9
99107
with:
100-
commit_message: 'chore: publish new version of @apify/docs-theme [skip ci]'
101-
file_pattern: 'apify-docs-theme/package*.json'
102-
commit_user_name: Apify Bot
103-
commit_user_email: my-github-actions-bot@example.org
104-
commit_author: Apify Bot <apify@apify.com>
108+
add: 'apify-docs-theme/package*.json'
109+
author_name: github-actions[bot]
110+
author_email: 41898282+github-actions[bot]@users.noreply.github.com
111+
message: 'chore: publish new version of @apify/docs-theme [skip ci]'
105112

106113
rebuild-docs:
107114
needs: publish

.github/workflows/spell-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ jobs:
1414
- name: Checkout repository
1515
uses: actions/checkout@v6
1616
- name: Check spelling with typos
17-
uses: crate-ci/typos@v1.43.5
17+
uses: crate-ci/typos@v1.44.0

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ sources/academy/**/exercises/storage
3030
sources/academy/**/exercises/node_modules
3131
sources/academy/**/exercises/package*.json
3232
sources/academy/**/exercises/dataset.json
33+
config.bat

.markdownlintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ node_modules
22
build
33
.claude
44
AGENTS.md
5+
CLAUDE.md

CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
AGENTS.md
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
value:
2+
data:
3+
total: 2
4+
offset: 0
5+
limit: 1000
6+
desc: false
7+
count: 2
8+
items:
9+
- id: HG7ML7M8z78YcAPEB
10+
actId: HDSasDasz78YcAPEB
11+
actorTaskId: KJHSKHausidyaJKHs
12+
status: SUCCEEDED
13+
startedAt: "2019-11-30T07:34:24.202Z"
14+
finishedAt: "2019-12-12T09:30:12.202Z"
15+
buildId: HG7ML7M8z78YcAPEB
16+
buildNumber: 0.0.2
17+
meta:
18+
origin: WEB
19+
usageTotalUsd: 0.2
20+
defaultKeyValueStoreId: sfAjeR4QmeJCQzTfe
21+
defaultDatasetId: 3ZojQDdFTsyE7Moy4
22+
defaultRequestQueueId: so93g2shcDzK3pA85
23+
- id: HG7ML7M8z78YcAPEB
24+
actId: HDSasDasz78YcAPEB
25+
actorTaskId: KJHSKHausidyaJKHs
26+
status: FAILED
27+
startedAt: "2019-12-12T07:34:14.202Z"
28+
finishedAt: "2019-12-13T08:36:13.202Z"
29+
buildId: u78dML7M8z78YcAPEB
30+
buildNumber: 0.2.2
31+
meta:
32+
origin: DEVELOPMENT
33+
usageTotalUsd: 0.6
34+
defaultKeyValueStoreId: sffsouqlseJCQzTfe
35+
defaultDatasetId: CFGggdjQDsyE7Moyw
36+
defaultRequestQueueId: soowucklrmDzKpA8x
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
description: Forbidden - insufficient permissions to perform this action.
2+
content:
3+
application/json:
4+
schema:
5+
$ref: ../schemas/common/ErrorResponse.yaml
6+
example:
7+
error:
8+
type: permission-denied
9+
message: You do not have permission to perform this action.

0 commit comments

Comments
 (0)