9 - uses: actions/checkout@v2.3.4
11 uses: actions/setup-java@v2
15 - uses: actions/cache@v2.1.6
17 path: ~/.m2/repository
18 key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
20 ${{ runner.os }}-maven-
22 run: mvn --batch-mode versions:update-parent -DgenerateBackupPoms=false
23 - name: Create Pull Request
25 uses: peter-evans/create-pull-request@v3.11.0
27 token: ${{ secrets.GITHUB_TOKEN }}
28 commit-message: Update parent to latest version
29 committer: GitHub <noreply@github.com>
30 author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
31 title: 'Update parent to latest version'
33 `mvn --batch-mode versions:update-parent -DgenerateBackupPoms=false`