-
-
Notifications
You must be signed in to change notification settings - Fork 75
52 lines (45 loc) · 1.51 KB
/
Copy pathmcp-release-watch.yml
File metadata and controls
52 lines (45 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: MCP Release Watch
on:
workflow_dispatch:
schedule:
- cron: "15 16 * * *"
permissions:
contents: read
issues: write
concurrency:
group: mcp-release-watch-${{ github.ref }}
cancel-in-progress: false
jobs:
release-watch:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
with:
fetch-depth: 0
persist-credentials: false
- name: Setup Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: 24.18.0
- name: Check MCP release status
env:
GITHUB_TOKEN: ${{ github.token }}
run: node scripts/check-mcp-release-due.mjs --json --output mcp-release-due.json --upsert-issue
- name: Summarize MCP release status
run: |
node <<'NODE'
const fs = require("node:fs");
const report = JSON.parse(fs.readFileSync("mcp-release-due.json", "utf8"));
const lines = [
"## MCP Release Watch",
"",
`- Due: \`${report.due}\``,
`- Proposed version: \`${report.proposedVersion}\``,
`- Latest tag: \`${report.latestTag ?? "none"}\``,
`- npm latest: \`${report.publishedVersion ?? "unknown"}\``,
`- MCP-related commits: \`${report.commits.length}\``,
];
fs.appendFileSync(process.env.GITHUB_STEP_SUMMARY, `${lines.join("\n")}\n`);
NODE