Steve Riesenberg
865bf23ecc
Use cache and user.name system property on Windows
4 years ago
Steve Riesenberg
f86d30f4a1
Only run prerequisites job if on upstream repo
4 years ago
Steve Riesenberg
dc59d12405
Simplify dependency graph
4 years ago
Steve Riesenberg
bdeb32854e
Use Spring Gradle Build Action
...
Closes gh-11630
4 years ago
Steve Riesenberg
3f4efedd23
Polish gh-11367
4 years ago
naveen
8f93a7fc94
Set permissions for GitHub actions
...
Restrict the GitHub token permissions only to the required ones; this
way, even if the attackers will succeed in compromising your workflow,
they won’t be able to do much.
- Included permissions for the action.
https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests
https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
4 years ago
Steve Riesenberg
92d4f1237d
Use JDK 17 for Antora
...
Issue gh-11430
Issue gh-11324
4 years ago
Steve Riesenberg
095f23d81f
Fix slack notifications in #spring-security-ci
...
Issue gh-11346
4 years ago
Marcus Da Coregio
c4a55b90e3
Antora generate workflow use JDK 17
...
Closes gh-11430
4 years ago
Steve Riesenberg
ac98e358a5
Add slack announcement when release is successful
...
Closes gh-11307
4 years ago
Steve Riesenberg
d1cb236df5
Fix slack notifications in #spring-security-ci
...
This change can be reverted if upgrading to a new version of
Gamesight/slack-workflow-status with the fix available (> 1.1.0).
Closes gh-11346
4 years ago
Steve Riesenberg
07f28de79b
Polish gh-11184
...
Propagate rename in notify_result section.
4 years ago
Steve Riesenberg
46723a601c
Add workflow step for scheduling the next milestone
...
This step introduces the concept of a release train to determine the appropriate release dates and schedules milestones as needed. It uses the following rules:
- If the current SNAPSHOT version is a minor release (patchVersion == 0), checks to see if a GA release exists. If not, a release train is scheduled as follows:
- Finds the next available release train starting month (including this month), either January or July.
- Schedules a release train with M1, M2, M3, RC1 and GA versions on either January/February/March/April/May or July/August/September/October/November
- If the current SNAPSHOT version is a patch release (patchVersion != 0), checks to see if a GA release exists. If not, an individual milestone is scheduled on the next even month whose release day is in the future (can include this month).
- In either case, the release day used to schedule the release is based on the configured weekOfMonth (1-4) and dayOfWeek (1-5), e.g. 3rd Monday of the month (3, 1).
If a milestone already exists, nothing is created. Once created, milestone due dates can be updated manually as desired.
Closes gh-10458
4 years ago
Steve Riesenberg
ad19fc1330
Add workflow for scheduling releases on maintenance branches
...
Closes gh-11180
4 years ago
Rob Winch
96caecc639
Disable pull request for backport-bot.yml
4 years ago
Rob Winch
a10f707b6e
Fix spacing in backport-bot.yml
4 years ago
Rob Winch
1d4bf88a0f
Cleanup backport-bot.yml
...
Issue gh-11313
4 years ago
Rob Winch
b78a28be5f
Add backport-bot.yml
...
Closes gh-11313
4 years ago
Steve Riesenberg
8e34b4c15e
Fix step id in conditional checks
4 years ago
Steve Riesenberg
8f4d003602
Revert "Add expression syntax to conditionals"
...
This reverts commit ea0b271a73 .
4 years ago
Steve Riesenberg
ea0b271a73
Add expression syntax to conditionals
...
Issue gh-11158
4 years ago
Steve Riesenberg
d07c5e0804
Add quotes to boolean conditional checks
...
Issue gh-11158
4 years ago
Steve Riesenberg
0c94cfca63
Fix conditional using env namespace at job level
...
Issue gh-11158
4 years ago
Marcus Da Coregio
0137f94f3b
Use properties in the checkSamples job
...
Issue gh-10344
4 years ago
Rob Winch
e4f5d2c6ef
Fix release-next-version.yml
...
- Improve speed by using single job and multiple steps
- Check output of tasks rather than rely on status codes to fail
Issue gh-11158
4 years ago
Eleftheria Stein
eba091bad5
Push tag in release workflow
...
Issue gh-11023
4 years ago
Eleftheria Stein
8914f06eca
Use non-default access token in release pipeline
...
This ensures that subsequent workflows are triggered
Closes gh-11022
4 years ago
Steve Riesenberg
9601efd341
Add gradle-build-action to GitHub Actions pipelines
...
Closes gh-11099
4 years ago
Eleftheria Stein
0e7dec2d2c
Tag release after updating gradle.properties
...
Closes gh-11023
4 years ago
Eleftheria Stein
992b8c38ac
Update antora on next development version release
...
Move commit from gradle task to workflow. Update antora.yml after project version update and before commit.
Closes gh-11021
4 years ago
Eleftheria Stein
4a25264404
Stage changes before committing in release pipeline
...
Issue gh-11020
4 years ago
Eleftheria Stein
55c956ee68
Add task to update version in antora.yml
...
This task updates the docs version based on the version in gradle.properties
Closes gh-11020
4 years ago
Steve Riesenberg
155fe11815
Update release pipeline scheduled time to 5pm UTC
...
Issue gh-10455
4 years ago
Steve Riesenberg
43142a8137
Update CI pipeline to push next snapshot version after release
...
Issue gh-10461
4 years ago
Steve Riesenberg
d7ac254b3d
Do not run CI on tags
...
Issue gh-10457
4 years ago
Steve Riesenberg
5f37ee2f64
Add missing output and checkout
...
Issue gh-10928
4 years ago
Steve Riesenberg
aa0005b1e1
Update CI process to create GitHub releases with release notes
...
Closes gh-10928
4 years ago
Eleftheria Stein
8c95ed6568
Update release pipeline to push next milestone
...
- Check that all associated issues are closed
- Update gradle.properties and push change
Issue gh-10451
4 years ago
Eleftheria Stein
eb31913b2b
Rearrange env variables in release pipeline
...
Issue gh-10451
4 years ago
Eleftheria Stein
e472cc1cc8
Update release time to 1pm UTC
...
Issue gh-10451
4 years ago
Eleftheria Stein
c7f3ad89f3
Re-enable check samples CI task
...
Issue gh-10832
This reverts commit 85de423756 .
4 years ago
Eleftheria Stein
85de423756
Temporarily disable check samples CI task
...
Issue gh-10832
4 years ago
Eleftheria Stein
d225d46749
Automated release should not trigger on git push
...
Issue gh-10451
4 years ago
Eleftheria Stein
1a1ef42094
Add workflow that triggers release on due date
...
Add 2 Gradle tasks, one that calculates the next release milestone based on the current version and one that checks if it is due today.
Issue gh-10451
Issue gh-10455
4 years ago
Rob Winch
b96a2ae5a6
Generate Antora workflow_dispatch
...
Issue gh-10765
4 years ago
Rob Winch
2c38bfe59c
Generate Antora for tags
...
Issue gh-10765
4 years ago
Rob Winch
4f88bb8e5f
Antora Playbook
4 years ago
Marcus Da Coregio
e5ff13901e
Switch workflows to use a JDK17 baseline
...
Closes gh-10353
4 years ago
Josh Cummings
d779cd1d48
Support Structure101 License ID
...
Closes gh-10443
4 years ago
Josh Cummings
cb6ca7f470
GitHub Actions uses spring-builds+github user
...
This is more clear than spring-builds user
4 years ago