From 7b59d41bc8d47a43db13db888b62cdf53a894941 Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Fri, 22 Dec 2023 16:18:20 -0500 Subject: [PATCH] Add merge-dependabot-pr.yml workflow * Fix `mail-supplier` to use `angus-mail.version` project property --- .github/workflows/merge-dependabot-pr.yml | 14 ++++++++++++++ supplier/mail-supplier/build.gradle | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/merge-dependabot-pr.yml diff --git a/.github/workflows/merge-dependabot-pr.yml b/.github/workflows/merge-dependabot-pr.yml new file mode 100644 index 00000000..7dfa29e2 --- /dev/null +++ b/.github/workflows/merge-dependabot-pr.yml @@ -0,0 +1,14 @@ +name: Merge Dependabot PR + +on: + pull_request: + branches: + - main + +run-name: Merge Dependabot PR ${{ github.ref_name }} + +jobs: + merge-dependabot-pr: + permissions: write-all + + uses: spring-io/spring-github-workflows/.github/workflows/spring-merge-dependabot-pr.yml@v1 \ No newline at end of file diff --git a/supplier/mail-supplier/build.gradle b/supplier/mail-supplier/build.gradle index cfb22c05..fcb2668d 100644 --- a/supplier/mail-supplier/build.gradle +++ b/supplier/mail-supplier/build.gradle @@ -5,7 +5,7 @@ ext { dependencies { api 'org.springframework.integration:spring-integration-mail' api 'org.springframework.boot:spring-boot-starter-mail' - api 'org.eclipse.angus:jakarta.mail:2.0.2' + api "org.eclipse.angus:jakarta.mail:${property('angus-mail.version')}" testImplementation "com.icegreen:greenmail:$greenmailVersion" }