-
Notifications
You must be signed in to change notification settings - Fork 2
40 lines (35 loc) · 1 KB
/
version-check.yml
File metadata and controls
40 lines (35 loc) · 1 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
name: Version Consistency Check
on:
push:
paths:
- '.claude-plugin/plugin.json'
- '.claude-plugin/marketplace.json'
- '.cursor-plugin/plugin.json'
- 'scripts/bump-version.sh'
- 'tests/version-check.sh'
- '.github/workflows/version-check.yml'
tags:
- 'v*.*.*'
pull_request:
paths:
- '.claude-plugin/plugin.json'
- '.claude-plugin/marketplace.json'
- '.cursor-plugin/plugin.json'
- 'scripts/bump-version.sh'
- 'tests/version-check.sh'
- '.github/workflows/version-check.yml'
workflow_dispatch:
permissions:
contents: read
jobs:
version-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Check version consistency across plugin manifests
run: bash tests/version-check.sh
- name: Check version matches latest git tag (on tag push)
if: startsWith(github.ref, 'refs/tags/')
run: bash tests/version-check.sh --check-tag