File tree 4 files changed +50
-1
lines changed
4 files changed +50
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Release Scheduler
2
+
3
+ on :
4
+ schedule :
5
+ - cron : ' 15 13 * * THU' # Every Tuesday at 13:15pm UTC
6
+ workflow_dispatch :
7
+
8
+ permissions : read-all
9
+
10
+ jobs :
11
+ dispatch_scheduled_releases :
12
+ name : Dispatch scheduled releases
13
+ if : ${{ github.repository_owner == 'spring-projects' }}
14
+ strategy :
15
+ matrix :
16
+ # List of active maintenance branches.
17
+ branch : [ main, 3.1.x, 2.4.x ]
18
+ runs-on : ubuntu-latest
19
+ steps :
20
+ - name : Checkout
21
+ uses : actions/checkout@v4
22
+ with :
23
+ fetch-depth : 1
24
+ - name : Dispatch
25
+ env :
26
+ GH_TOKEN : ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
27
+ run : gh workflow run update-scheduled-release-version.yml -r ${{ matrix.branch }}
Original file line number Diff line number Diff line change
1
+ name : Update Scheduled Release Version
2
+
3
+ on :
4
+ workflow_dispatch : # Manual trigger only. Triggered by release-scheduler.yml on main.
5
+
6
+ jobs :
7
+ update-scheduled-release-version :
8
+ name : Update Scheduled Release Version
9
+ uses : spring-io/spring-security-release-tools/.github/workflows/update-scheduled-release-version.yml@v1
10
+ secrets : inherit
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ buildscript {
21
21
22
22
apply plugin : ' io.spring.convention.root'
23
23
apply plugin : ' io.spring.convention.docs'
24
+ apply plugin : ' io.spring.security.release'
24
25
25
26
group = " org.springframework.ldap"
26
27
description = " Spring LDAP"
@@ -54,4 +55,14 @@ asciidoctor {
54
55
options = [
55
56
eruby : ' erubis'
56
57
]
57
- }
58
+ }
59
+
60
+ springRelease {
61
+ repositoryOwner = " spring-projects"
62
+ repositoryName = " spring-ldap"
63
+ weekOfMonth = 2
64
+ dayOfWeek = 4
65
+ referenceDocUrl = " https://docs.spring.io/spring-ldap/reference/{version}/index.html"
66
+ apiDocUrl = " https://docs.spring.io/spring-ldap/docs/{version}/api/"
67
+ replaceSnapshotVersionInReferenceDocUrl = true
68
+ }
Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ dependencies {
89
89
implementation ' com.github.ben-manes:gradle-versions-plugin:0.38.0'
90
90
implementation ' com.github.spullara.mustache.java:compiler:0.9.4'
91
91
implementation ' io.spring.javaformat:spring-javaformat-gradle-plugin:0.0.15'
92
+ implementation ' io.spring.gradle:spring-security-release-plugin:1.0.1'
92
93
implementation ' io.spring.nohttp:nohttp-gradle:0.0.10'
93
94
implementation ' net.sourceforge.htmlunit:htmlunit:2.37.0'
94
95
implementation ' org.asciidoctor:asciidoctor-gradle-jvm:3.3.2'
You can’t perform that action at this time.
0 commit comments