Skip to content

GEOMESA-3551 Docs - Update to NiFi 2.7.2 (#3488) #688

GEOMESA-3551 Docs - Update to NiFi 2.7.2 (#3488)

GEOMESA-3551 Docs - Update to NiFi 2.7.2 (#3488) #688

name: license-headers
on:
push:
branches:
- main
- '[0-9]+.[0-9]+.x'
tags:
- '**'
pull_request:
permissions: # added using https://github.com/step-security/secure-repo
contents: read
env:
JAVA_VERSION: 17
MAVEN_CLI_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false --batch-mode
jobs:
check-license-headers:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
with:
distribution: temurin
java-version: "${{ env.JAVA_VERSION }}"
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
key: ${{ hashFiles('**/pom.xml') }}-license-header-check
path: ~/.m2/repository/
- name: Run license check
run: mvn license:check $MAVEN_CLI_OPTS