Skip to content

Commit 7c21bc3

Browse files
authored
Merge pull request #1607 from CMSgov/backfill-update
QPPA-0000: Update boot dependencies
2 parents d519b0b + b1a192c commit 7c21bc3

2 files changed

Lines changed: 43 additions & 29 deletions

File tree

.github/workflows/publish-release.yml

Lines changed: 39 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -37,31 +37,45 @@ jobs:
3737
echo "Published release ${{ steps.get_release.outputs.tag_name }} as latest"
3838
env:
3939
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
backfill:
41+
name: Backfill master to develop branch
42+
runs-on: ubuntu-latest
43+
steps:
44+
- name: Check params
45+
run: |
46+
echo "head.ref = ${{github.event.pull_request.head.ref}}"
47+
echo "base.ref = ${{github.event.pull_request.base.ref}}"
48+
49+
- uses: actions/checkout@v4
50+
with:
51+
ref: master
52+
token: ${{ secrets.ACTIONS_NICHOLAS_PAT }}
4053

41-
- name: Create backfill PR to develop
54+
- name: Create backfill branch
55+
run: git checkout -b backfill/master;
56+
57+
# In order to make a commit, we need to initialize a user.
58+
- name: Initialize mandatory git config
4259
run: |
43-
# Check if a PR already exists
44-
EXISTING_PR=$(gh pr list --base develop --head master --json number --jq '.[0].number' || echo "")
45-
46-
if [ -n "$EXISTING_PR" ]; then
47-
echo "PR #${EXISTING_PR} already exists for master -> develop"
48-
exit 0
49-
fi
50-
51-
# Create the backfill PR
52-
gh pr create \
53-
--base develop \
54-
--head master \
55-
--title "Backfill master into develop" \
56-
--body "This PR backfills changes from master into develop after production deployment.
57-
58-
## Changes
59-
This includes all changes that were merged to master.
60-
61-
## Notes
62-
- Review for any conflicts
63-
- Merge after verifying all changes are appropriate for develop branch"
64-
65-
echo "Created backfill PR from master to develop"
60+
git config user.name "GitHub actions"
61+
git config user.email noreply@github.com
62+
63+
- name: Push backfill branch
6664
env:
67-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
65+
GITHUB_TOKEN: ${{ secrets.ACTIONS_NICHOLAS_PAT }}
66+
run: |
67+
git push origin backfill/master
68+
69+
- name: Create backfill pull request to develop branch
70+
uses: thomaseizinger/create-pull-request@1.4.0
71+
with:
72+
github_token: ${{ secrets.ACTIONS_NICHOLAS_PAT }}
73+
head: backfill/master
74+
base: develop
75+
draft: true
76+
title: Backfill ${{ github.event.pull_request.base.ref }} branch to develop branch
77+
body: |
78+
Hi @${{ github.actor }}!
79+
80+
This PR was created in response to a trigger of the release workflow here: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}.
81+
Following a release, this is a backfill from the main branch to the develop branch.

rest-api/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@
195195
<dependency>
196196
<groupId>org.springframework.boot</groupId>
197197
<artifactId>spring-boot-dependencies</artifactId>
198-
<version>3.4.11</version>
198+
<version>3.5.10</version>
199199
<type>pom</type>
200200
<scope>import</scope>
201201
</dependency>
@@ -226,17 +226,17 @@
226226
<dependency>
227227
<groupId>org.apache.tomcat.embed</groupId>
228228
<artifactId>tomcat-embed-core</artifactId>
229-
<version>10.1.47</version>
229+
<version>10.1.52</version>
230230
</dependency>
231231
<dependency>
232232
<groupId>org.apache.tomcat.embed</groupId>
233233
<artifactId>tomcat-embed-el</artifactId>
234-
<version>10.1.45</version>
234+
<version>10.1.52</version>
235235
</dependency>
236236
<dependency>
237237
<groupId>org.apache.tomcat.embed</groupId>
238238
<artifactId>tomcat-embed-websocket</artifactId>
239-
<version>10.1.45</version>
239+
<version>10.1.52</version>
240240
</dependency>
241241

242242
<dependency>

0 commit comments

Comments
 (0)