Skip to content

GEOMESA-3455 Confluent Kafka - Close schema registry connection on di… #17

GEOMESA-3455 Confluent Kafka - Close schema registry connection on di…

GEOMESA-3455 Confluent Kafka - Close schema registry connection on di… #17

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:
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
with:
distribution: 'temurin'
java-version: '11'
- uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf # v4.2.2
with:
key: ${{ hashFiles('**/pom.xml') }}-license-header-check
path: ~/.m2/repository/
- name: Run license check
run: mvn license:check $MAVEN_CLI_OPTS