Skip to content

Commit 6c04595

Browse files
committed
Merge remote-tracking branch 'origin/master' into feat/subset-of-input-schema
2 parents 3014adf + 2bd1ad7 commit 6c04595

File tree

20 files changed

+198
-362
lines changed

20 files changed

+198
-362
lines changed

.github/scripts/before-beta-release.cjs

Lines changed: 0 additions & 33 deletions
This file was deleted.

.github/workflows/pre_release.yaml

Lines changed: 23 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -1,108 +1,55 @@
11
name: Create a pre-release
22

33
on:
4-
workflow_dispatch:
5-
# Push to master will deploy a beta version
6-
push:
7-
branches:
8-
- master
9-
tags-ignore:
10-
- "**" # Ignore all tags to prevent duplicate builds when tags are pushed.
4+
# Only trigger on PRs with "beta" label
5+
pull_request:
6+
types: [labeled, synchronize, reopened]
117

128
concurrency:
139
group: release
1410
cancel-in-progress: false
1511

1612
jobs:
17-
release_metadata:
18-
if: "!startsWith(github.event.head_commit.message, 'docs') && !startsWith(github.event.head_commit.message, 'ci') && startsWith(github.repository, 'apify/')"
19-
name: Prepare release metadata
20-
runs-on: ubuntu-latest
21-
outputs:
22-
version_number: ${{ steps.release_metadata.outputs.version_number }}
23-
changelog: ${{ steps.release_metadata.outputs.changelog }}
24-
steps:
25-
- uses: apify/workflows/git-cliff-release@main
26-
name: Prepare release metadata
27-
id: release_metadata
28-
with:
29-
release_type: prerelease
30-
existing_changelog_path: CHANGELOG.md
31-
3213
wait_for_checks:
14+
# Run ONLY when PR has the "beta" label
15+
if: contains(github.event.pull_request.labels.*.name, 'beta')
3316
name: Wait for code checks to pass
3417
runs-on: ubuntu-latest
3518
steps:
36-
- uses: lewagon/[email protected]
19+
- name: Wait for existing checks or skip if none
20+
uses: lewagon/[email protected]
3721
with:
38-
ref: ${{ github.ref }}
22+
ref: ${{ github.event.pull_request.head.sha }}
3923
repo-token: ${{ secrets.GITHUB_TOKEN }}
4024
check-regexp: (Code checks)
41-
wait-interval: 5
42-
43-
update_changelog:
44-
needs: [ release_metadata, wait_for_checks ]
45-
name: Update changelog
25+
wait-interval: 10
26+
running-workflow-name: 'Wait for code checks to pass'
27+
allowed-conclusions: success,neutral,skipped
28+
continue-on-error: false
29+
30+
push_pkg_pr_new:
31+
needs: [ wait_for_checks ]
32+
name: Push to pkg.pr.new
4633
runs-on: ubuntu-latest
47-
outputs:
48-
changelog_commitish: ${{ steps.commit.outputs.commit_long_sha || github.sha }}
4934

5035
steps:
5136
- name: Checkout repository
5237
uses: actions/checkout@v4
5338
with:
54-
token: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}
39+
ref: ${{ github.event.pull_request.head.ref }}
40+
repository: ${{ github.event.pull_request.head.repo.full_name }}
5541

56-
- name: Use Node.js 22
57-
uses: actions/setup-node@v4
58-
with:
59-
node-version: 22
60-
61-
- name: Update package version in package.json
62-
run: npm version --no-git-tag-version --allow-same-version ${{ needs.release_metadata.outputs.version_number }}
63-
64-
- name: Update CHANGELOG.md
65-
uses: DamianReeves/write-file-action@master
66-
with:
67-
path: CHANGELOG.md
68-
write-mode: overwrite
69-
contents: ${{ needs.release_metadata.outputs.changelog }}
70-
71-
- name: Commit changes
72-
id: commit
73-
uses: EndBug/add-and-commit@v9
74-
with:
75-
author_name: Apify Release Bot
76-
author_email: [email protected]
77-
message: "chore(release): Update changelog and package version [skip ci]"
78-
79-
publish_to_npm:
80-
name: Publish to NPM
81-
needs: [ release_metadata, wait_for_checks ]
82-
runs-on: ubuntu-latest
83-
steps:
84-
- uses: actions/checkout@v4
85-
with:
86-
ref: ${{ needs.update_changelog.changelog_commitish }}
8742
- name: Use Node.js 22
8843
uses: actions/setup-node@v4
8944
with:
9045
node-version: 22
9146
cache: 'npm'
9247
cache-dependency-path: 'package-lock.json'
48+
9349
- name: Install dependencies
94-
run: |
95-
echo "access=public" >> .npmrc
96-
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc
97-
npm ci
98-
- # Check version consistency and increment pre-release version number for beta only.
99-
name: Bump pre-release version
100-
run: node ./.github/scripts/before-beta-release.cjs
101-
- name: Build module
50+
run: npm ci
51+
52+
- name: Build
10253
run: npm run build
103-
- name: Publish to NPM
104-
run: npm publish --tag beta
10554

106-
env:
107-
NODE_AUTH_TOKEN: ${{ secrets.APIFY_SERVICE_ACCOUNT_NPM_TOKEN }}
108-
NPM_TOKEN: ${{ secrets.APIFY_SERVICE_ACCOUNT_NPM_TOKEN }}
55+
- run: npx -y pkg-pr-new publish

CHANGELOG.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,48 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [0.3.8](https://github.com/apify/actors-mcp-server/releases/tag/v0.3.8) (2025-08-08)
6+
7+
### 🐛 Bug Fixes
8+
9+
- Change log message for actor-mcp ([#211](https://github.com/apify/actors-mcp-server/pull/211)) ([3697b9f](https://github.com/apify/actors-mcp-server/commit/3697b9f48ab3c3b51dfe773375f6493197df7fa9)) by [@jirispilka](https://github.com/jirispilka)
10+
11+
12+
## [0.3.7](https://github.com/apify/actors-mcp-server/releases/tag/v0.3.7) (2025-08-07)
13+
14+
### 🐛 Bug Fixes
15+
16+
- Change description in DXT file ([#209](https://github.com/apify/actors-mcp-server/pull/209)) ([4608963](https://github.com/apify/actors-mcp-server/commit/460896398d4f5999f8154bb51d09c254552d6224)) by [@jirispilka](https://github.com/jirispilka)
17+
18+
19+
## [0.3.6](https://github.com/apify/actors-mcp-server/releases/tag/v0.3.6) (2025-08-06)
20+
21+
### 🚀 Features
22+
23+
- Update dxt file ([#208](https://github.com/apify/actors-mcp-server/pull/208)) ([1bedc59](https://github.com/apify/actors-mcp-server/commit/1bedc59cb4a0e3bf5abd493298ec4fecb9c40fef)) by [@jirispilka](https://github.com/jirispilka)
24+
25+
26+
## [0.3.5](https://github.com/apify/actors-mcp-server/releases/tag/v0.3.5) (2025-08-06)
27+
28+
### 🐛 Bug Fixes
29+
30+
- Adding non existent Actor ([#205](https://github.com/apify/actors-mcp-server/pull/205)) ([b82fb1b](https://github.com/apify/actors-mcp-server/commit/b82fb1b15a734a556dad171ed428d4440c6176f1)) by [@MQ37](https://github.com/MQ37)
31+
32+
33+
## [0.3.4](https://github.com/apify/actors-mcp-server/releases/tag/v0.3.4) (2025-08-06)
34+
35+
### 🚀 Features
36+
37+
- Change logs to structured format ([#207](https://github.com/apify/actors-mcp-server/pull/207)) ([3f30e1d](https://github.com/apify/actors-mcp-server/commit/3f30e1dcb5c70767ddbbe375ef7ae8ba06a29e66)) by [@jirispilka](https://github.com/jirispilka)
38+
39+
40+
## [0.3.3](https://github.com/apify/actors-mcp-server/releases/tag/v0.3.3) (2025-08-05)
41+
42+
### 🚀 Features
43+
44+
- Change info logs to debug ([#204](https://github.com/apify/actors-mcp-server/pull/204)) ([1f45d7f](https://github.com/apify/actors-mcp-server/commit/1f45d7fb45dbd18e69687eeb89fb098969a6228d)) by [@jirispilka](https://github.com/jirispilka)
45+
46+
547
## [0.3.2](https://github.com/apify/actors-mcp-server/releases/tag/v0.3.2) (2025-08-01)
648

749
### 🚀 Features

0 commit comments

Comments
 (0)