381047e386
Bumps [spring-io/spring-security-release-tools](https://github.com/spring-io/spring-security-release-tools) from 1.0.14 to 1.0.15. - [Release notes](https://github.com/spring-io/spring-security-release-tools/releases) - [Changelog](https://github.com/spring-io/spring-security-release-tools/blob/main/RELEASE.adoc) - [Commits](https://github.com/spring-io/spring-security-release-tools/compare/729fed56d42122f88583aff1be35c0800b7d77e9...b92832ecbc7cbe969201e6beafbde0ee400cf095) --- updated-dependencies: - dependency-name: spring-io/spring-security-release-tools dependency-version: 1.0.15 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
36 lines
1.4 KiB
YAML
36 lines
1.4 KiB
YAML
name: Check Milestone
|
|
on:
|
|
milestone:
|
|
types: [created, opened, edited]
|
|
env:
|
|
DUE_ON: ${{ github.event.milestone.due_on }}
|
|
TITLE: ${{ github.event.milestone.title }}
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
spring-releasetrain-checks:
|
|
name: Check DueOn is on a Release Date
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.repository == 'spring-projects/spring-security' }}
|
|
permissions:
|
|
contents: none
|
|
steps:
|
|
- name: Print Milestone Being Checked
|
|
run: echo "Validating DueOn '$DUE_ON' for milestone '$TITLE'"
|
|
- name: Validate DueOn
|
|
if: env.DUE_ON != ''
|
|
run: |
|
|
export TOOL_VERSION=0.1.1
|
|
wget "https://repo.maven.apache.org/maven2/io/spring/releasetrain/spring-release-train-tools/$TOOL_VERSION/spring-release-train-tools-$TOOL_VERSION.jar"
|
|
java -cp "spring-release-train-tools-$TOOL_VERSION.jar" io.spring.releasetrain.CheckMilestoneDueOnMain --dueOn "$DUE_ON" --expectedDayOfWeek MONDAY --expectedMondayCount 3
|
|
send-notification:
|
|
name: Send Notification
|
|
needs: [ spring-releasetrain-checks ]
|
|
if: ${{ failure() || cancelled() }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Send Notification
|
|
uses: spring-io/spring-security-release-tools/.github/actions/send-notification@b92832ecbc7cbe969201e6beafbde0ee400cf095 # v1.0.15
|
|
with:
|
|
webhook-url: ${{ secrets.SPRING_SECURITY_CI_GCHAT_WEBHOOK_URL }}
|