Bump org.apache.maven.plugins:maven-plugin-plugin from 3.14.0 to 3.15.0 #470
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
# Avoid workflow run for _merged_ `dependabot` PRs. | |
# They were (hopefully!) already tested in PR-triggered workflow. | |
branches-ignore: "dependabot/**" | |
pull_request: | |
paths-ignore: | |
- "**.adoc" | |
- "**.md" | |
- "**.txt" | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
echo: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Echo environment" | |
run: | | |
echo "${{github.event_name}}" | |
echo "${{github.actor}}" | |
echo "${{github.event.pull_request.html_url}}" | |
build: | |
if: github.event_name == 'pull_request' | |
runs-on: ${{ matrix.os }} | |
needs: echo | |
strategy: | |
matrix: | |
os: [ macos-latest, ubuntu-latest, windows-latest ] | |
version: [11, 17, 21] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Setup JDKs | |
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2 | |
with: | |
distribution: temurin | |
java-version: ${{ matrix.version }} | |
java-package: jdk | |
architecture: x64 | |
cache: maven | |
- name: Build | |
shell: bash | |
run: mvn --batch-mode clean verify | |
merge: | |
if: github.event_name == 'pull_request' && github.actor == 'dependabot[bot]' | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- name: "[dependabot] Fetch metadata" | |
id: metadata | |
uses: dependabot/[email protected] | |
with: | |
github-token: "${{ secrets.GITHUB_TOKEN }}" | |
- name: "[dependabot] Auto-merge the PR" | |
run: gh pr merge --auto --squash "$PR_URL" | |
env: | |
PR_URL: ${{ github.event.pull_request.html_url }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |