diff --git a/.fossa.yml b/.fossa.yml new file mode 100644 index 000000000..1df443cff --- /dev/null +++ b/.fossa.yml @@ -0,0 +1,15 @@ +version: 3 + +# https://github.com/fossas/fossa-cli/blob/master/docs/references/files/fossa-yml.md +# detect targets and paths with: `fossa list-targets` + +targets: + exclude: + - type: scala + path: tests + - type: scala + path: integration-tests + - type: scala + path: benchmarks + - type: scala + path: docs diff --git a/.github/autolabeler.yml b/.github/autolabeler.yml deleted file mode 100644 index f08589163..000000000 --- a/.github/autolabeler.yml +++ /dev/null @@ -1,7 +0,0 @@ -# configuration for https://github.com/probot/autolabeler - -benchmarks: ["/benchmarks"] -core: ["/core"] -documentation: ["/docs"] -testkit: ["/testkit"] -tests: ["/tests"] diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml deleted file mode 100644 index 35b6a0edb..000000000 --- a/.github/release-drafter.yml +++ /dev/null @@ -1,20 +0,0 @@ -# Config for https://github.com/toolmantim/release-drafter -name-template: 'Alpakka Kafka $NEXT_PATCH_VERSION' -tag-template: 'v$NEXT_PATCH_VERSION' -categories: - - title: 'Benchmarks' - label: 'benchmarks' - - title: 'Alpakka Kafka core' - label: 'core' - - title: 'Tests' - label: 'tests' - - title: 'Alpakka Kafka Testkit' - label: 'testkit' - - title: 'Documentation' - label: 'documentation' - -change-template: '- $TITLE [#$NUMBER](https://github.com/akka/alpakka-kafka/issues/$NUMBER) by [@$AUTHOR](https://github.com/$AUTHOR)' -template: | - ## Changes - - $CHANGES diff --git a/.github/workflows/check-build-test.yml b/.github/workflows/check-build-test.yml index c1cf8d908..5eba7d81e 100644 --- a/.github/workflows/check-build-test.yml +++ b/.github/workflows/check-build-test.yml @@ -21,7 +21,9 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v3.1.0 + # https://github.com/actions/checkout/releases + # v4.1.1 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: # we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves fetch-depth: 0 @@ -33,10 +35,14 @@ jobs: git checkout scratch - name: Cache Coursier cache - uses: coursier/cache-action@v6.4.0 + # https://github.com/coursier/cache-action/releases + # v6.4.5 + uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d - name: Set up JDK 11 - uses: coursier/setup-action@v1.3.0 + # https://github.com/coursier/setup-action/releases + # v1.3.5 + uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f with: jvm: temurin:1.11 @@ -49,7 +55,9 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v3.1.0 + # https://github.com/actions/checkout/releases + # v4.1.1 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: fetch-depth: 0 @@ -60,10 +68,14 @@ jobs: git checkout scratch - name: Cache Coursier cache - uses: coursier/cache-action@v6.4.0 + # https://github.com/coursier/cache-action/releases + # v6.4.5 + uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d - name: Set up JDK 11 - uses: coursier/setup-action@v1.3.0 + # https://github.com/coursier/setup-action/releases + # v1.3.5 + uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f with: jvm: temurin:1.11 @@ -76,7 +88,9 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v3.1.0 + # https://github.com/actions/checkout/releases + # v4.1.1 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: fetch-depth: 0 @@ -87,10 +101,14 @@ jobs: git checkout scratch - name: Cache Coursier cache - uses: coursier/cache-action@v6.4.0 + # https://github.com/coursier/cache-action/releases + # v6.4.5 + uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d - name: Set up JDK 17 - uses: coursier/setup-action@v1.3.0 + # https://github.com/coursier/setup-action/releases + # v1.3.5 + uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f with: jvm: temurin:1.17.0.5 @@ -109,7 +127,9 @@ jobs: - { java-version: 'temurin:1.11', sbt-opts: '-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' } steps: - name: Checkout - uses: actions/checkout@v3.1.0 + # https://github.com/actions/checkout/releases + # v4.1.1 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: fetch-depth: 0 @@ -120,10 +140,14 @@ jobs: git checkout scratch - name: Cache Coursier cache - uses: coursier/cache-action@v6.4.0 + # https://github.com/coursier/cache-action/releases + # v6.4.5 + uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d - name: Set up JDK ${{ matrix.java-version }} - uses: coursier/setup-action@v1.3.0 + # https://github.com/coursier/setup-action/releases + # v1.3.5 + uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f with: jvm: ${{ matrix.java-version }} @@ -140,7 +164,9 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v3.1.0 + # https://github.com/actions/checkout/releases + # v4.1.1 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: fetch-depth: 0 @@ -151,10 +177,14 @@ jobs: git checkout scratch - name: Cache Coursier cache - uses: coursier/cache-action@v6.4.0 + # https://github.com/coursier/cache-action/releases + # v6.4.5 + uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d - name: Set up JDK 11 - uses: coursier/setup-action@v1.3.0 + # https://github.com/coursier/setup-action/releases + # v1.3.5 + uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f with: jvm: temurin:1.11 @@ -170,7 +200,9 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v3.1.0 + # https://github.com/actions/checkout/releases + # v4.1.1 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: fetch-depth: 0 @@ -181,10 +213,14 @@ jobs: git checkout scratch - name: Cache Coursier cache - uses: coursier/cache-action@v6.4.0 + # https://github.com/coursier/cache-action/releases + # v6.4.5 + uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d - name: Set up JDK 11 - uses: coursier/setup-action@v1.3.0 + # https://github.com/coursier/setup-action/releases + # v1.3.5 + uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f with: jvm: temurin:1.11 diff --git a/.github/workflows/dependency-submission.yml b/.github/workflows/dependency-submission.yml index 7389eb5b9..5e672072a 100644 --- a/.github/workflows/dependency-submission.yml +++ b/.github/workflows/dependency-submission.yml @@ -20,8 +20,8 @@ jobs: steps: - name: Checkout # https://github.com/actions/checkout/releases - # v3.5.0 - uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 + # v4.1.1 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: fetch-depth: 0 - name: Submit dependencies to GitHub diff --git a/.github/workflows/fossa.yml b/.github/workflows/fossa.yml index 6cb8b3555..df1d5abfe 100644 --- a/.github/workflows/fossa.yml +++ b/.github/workflows/fossa.yml @@ -15,16 +15,22 @@ jobs: if: github.repository == 'akka/alpakka-kafka' steps: - name: Checkout - uses: actions/checkout@v3.1.0 + # https://github.com/actions/checkout/releases + # v4.1.1 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: # we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves fetch-depth: 0 - name: Cache Coursier cache - uses: coursier/cache-action@v6.4.0 + # https://github.com/coursier/cache-action/releases + # v6.4.5 + uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d - name: Set up JDK 17 - uses: coursier/setup-action@v1.3.0 + # https://github.com/coursier/setup-action/releases + # v1.3.5 + uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f with: jvm: temurin:1.17 diff --git a/.github/workflows/link-validator.yml b/.github/workflows/link-validator.yml index 7fc4672d5..d296b83a0 100644 --- a/.github/workflows/link-validator.yml +++ b/.github/workflows/link-validator.yml @@ -15,7 +15,9 @@ jobs: if: github.event.repository.fork == false steps: - name: Checkout - uses: actions/checkout@v3.1.0 + # https://github.com/actions/checkout/releases + # v4.1.1 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: # See https://github.com/actions/checkout/issues/299#issuecomment-677674415 ref: ${{ github.event.pull_request.head.sha }} @@ -25,10 +27,14 @@ jobs: run: git fetch --depth=100 origin +refs/tags/*:refs/tags/* - name: Cache Coursier cache - uses: coursier/cache-action@v6.4.0 + # https://github.com/coursier/cache-action/releases + # v6.4.5 + uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d - name: Set up JDK 17 - uses: coursier/setup-action@v1.3.0 + # https://github.com/coursier/setup-action/releases + # v1.3.5 + uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f with: jvm: temurin:1.17.0.5 apps: cs diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml deleted file mode 100644 index d2c75d511..000000000 --- a/.github/workflows/release-drafter.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Release Drafter - -on: - push: - branches: - - main - - release-* - -permissions: - contents: read # allow actions/checkout - -jobs: - update_release_draft: - runs-on: ubuntu-22.04 - if: github.repository == 'akka/alpakka-kafka' - permissions: - # write permission is required to create a github release - contents: write - steps: - # Drafts your next Release notes as Pull Requests are merged - # https://github.com/release-drafter/release-drafter/releases - # v5.21.1 - - uses: release-drafter/release-drafter@6df64e4ba4842c203c604c1f45246c5863410adb - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 25aab0d76..f3c352758 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,9 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v3.1.0 + # https://github.com/actions/checkout/releases + # v4.1.1 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: # we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves fetch-depth: 0 @@ -33,10 +35,14 @@ jobs: git checkout scratch - name: Cache Coursier cache - uses: coursier/cache-action@v6.4.0 + # https://github.com/coursier/cache-action/releases + # v6.4.5 + uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d - name: Set up JDK 11 - uses: coursier/setup-action@v1.3.0 + # https://github.com/coursier/setup-action/releases + # v1.3.5 + uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f with: jvm: temurin:1.11.0.17 @@ -54,13 +60,17 @@ jobs: if: github.event.repository.fork == false steps: - name: Checkout - uses: actions/checkout@v3.1.0 + # https://github.com/actions/checkout/releases + # v4.1.1 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: # we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves fetch-depth: 0 - name: Set up JDK 17 - uses: coursier/setup-action@v1.3.0 + # https://github.com/coursier/setup-action/releases + # v1.3.5 + uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f with: jvm: temurin:1.17.0.5 diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md deleted file mode 100644 index 372fcb588..000000000 --- a/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,10 +0,0 @@ -All repositories in these organizations: - -* [lightbend](https://github.com/lightbend) -* [akka](https://github.com/akka) -* [lagom](https://github.com/lagom) -* [playframework](https://github.com/playframework) -* [sbt](https://github.com/sbt) -* [slick](https://github.com/slick) - -are covered by the Lightbend Community Code of Conduct: https://www.lightbend.com/conduct diff --git a/README.md b/README.md index a218d1f7e..6b5d319e7 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ The Kafka connector was originally created as **Reactive Kafka** by [