Skip to content

Commit ea32f8c

Browse files
committed
🆕 feat(workflow): add call-prune-releases workflow for managing release versions
1 parent a6644c4 commit ea32f8c

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
on:
2+
workflow_dispatch:
3+
4+
push:
5+
branches:
6+
- main
7+
- stage
8+
- 'feature/**'
9+
- 'bugfix/**'
10+
- 'fix/**'
11+
- 'hotfix/**'
12+
- 'release/**'
13+
- 'dependabot/**'
14+
- 'renovate/**'
15+
- 'chore/**'
16+
- 'test/**'
17+
pull_request:
18+
types: [labeled, synchronize, opened, reopened, ready_for_review]
19+
branches:
20+
- main
21+
- stage
22+
- 'feature/**'
23+
- 'bugfix/**'
24+
- 'fix/**'
25+
- 'hotfix/**'
26+
- 'release/**'
27+
- 'dependabot/**'
28+
- 'renovate/**'
29+
- 'chore/**'
30+
- 'test/**'
31+
32+
jobs:
33+
prune_releases:
34+
uses: variablesoftware/github-workflows/.github/workflows/prune-releases.yml@main
35+
with:
36+
releases_to_keep: 5 # Optional, defaults to 3
37+
secrets: inherit

0 commit comments

Comments
 (0)