diff --git a/.github/.kodiak.toml b/.github/.kodiak.toml index a963117..f642dba 100644 --- a/.github/.kodiak.toml +++ b/.github/.kodiak.toml @@ -1,7 +1,7 @@ version = 1 [approve] -auto_approve_usernames = ["cq-bot"] +auto_approve_usernames = ["cloudquery-ci"] [merge.message] body = "pull_request_body" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0f1b869..079f1d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,13 +16,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v6 - - uses: actions/setup-java@v5 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 + - uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5 with: distribution: "temurin" java-version: "18" cache: "gradle" - name: Validate Gradle wrapper - uses: gradle/actions/wrapper-validation@0723195856401067f7a2779048b490ace7a47d7c + uses: gradle/actions/wrapper-validation@263d8fe18eb54ae581bcdc2e263c5a49173958a3 - name: Build package run: ./gradlew build diff --git a/.github/workflows/pr_title.yml b/.github/workflows/pr_title.yml index fb72636..d052afd 100644 --- a/.github/workflows/pr_title.yml +++ b/.github/workflows/pr_title.yml @@ -1,7 +1,7 @@ name: "Validate PR title" on: - pull_request_target: + pull_request: types: - opened - edited @@ -17,7 +17,7 @@ jobs: steps: # Please look up the latest version from # https://github.com/amannn/action-semantic-pull-request/releases - - uses: amannn/action-semantic-pull-request@v6 + - uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6a26a38..3f09b1c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,16 +13,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v6 - - uses: actions/setup-java@v5 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 + - uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5 with: distribution: "temurin" java-version: "18" cache: "gradle" - name: Validate Gradle wrapper - uses: gradle/actions/wrapper-validation@0723195856401067f7a2779048b490ace7a47d7c + uses: gradle/actions/wrapper-validation@263d8fe18eb54ae581bcdc2e263c5a49173958a3 - name: Setup Gradle - uses: gradle/actions/setup-gradle@0723195856401067f7a2779048b490ace7a47d7c + uses: gradle/actions/setup-gradle@263d8fe18eb54ae581bcdc2e263c5a49173958a3 - name: Publish Package env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/regen.yml b/.github/workflows/regen.yml index bf7fdb2..31da71f 100644 --- a/.github/workflows/regen.yml +++ b/.github/workflows/regen.yml @@ -12,28 +12,35 @@ jobs: timeout-minutes: 30 runs-on: ubuntu-latest steps: + - name: Generate GitHub App token + id: app-token + uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3 + with: + app-id: ${{ secrets.CQ_APP_ID }} + private-key: ${{ secrets.CQ_APP_PRIVATE_KEY }} + permission-contents: write + permission-pull-requests: write - name: Checkout - uses: actions/checkout@v6 - - uses: actions/setup-java@v5 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 + - uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5 with: distribution: "temurin" java-version: "18" cache: "gradle" - name: Validate Gradle wrapper - uses: gradle/actions/wrapper-validation@0723195856401067f7a2779048b490ace7a47d7c + uses: gradle/actions/wrapper-validation@263d8fe18eb54ae581bcdc2e263c5a49173958a3 - name: Generate code run: | make clone-proto make gen-proto - name: Create Pull Request - uses: peter-evans/create-pull-request@v8 + uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8 with: # required so the PR triggers workflow runs - token: ${{ secrets.GH_CQ_BOT }} + token: ${{ steps.app-token.outputs.token }} branch: fix/gen_proto base: main title: "fix: Generate Java Code from `plugin-pb`" commit-message: "fix: Generate Java Code from `plugin-pb`" body: This PR was created by a scheduled workflow to regenerate the Java code from `plugin-pb`. - author: cq-bot labels: automerge diff --git a/.github/workflows/release_pr.yml b/.github/workflows/release_pr.yml index 5cbe3ae..7e7c172 100644 --- a/.github/workflows/release_pr.yml +++ b/.github/workflows/release_pr.yml @@ -11,7 +11,15 @@ jobs: release-please: runs-on: ubuntu-latest steps: - - uses: google-github-actions/release-please-action@v4 + - name: Generate GitHub App token + id: app-token + uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3 + with: + app-id: ${{ secrets.CQ_APP_ID }} + private-key: ${{ secrets.CQ_APP_PRIVATE_KEY }} + permission-contents: write + permission-pull-requests: write + - uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4 id: release with: - token: ${{ secrets.GH_CQ_BOT }} + token: ${{ steps.app-token.outputs.token }} diff --git a/.release-please-manifest.json b/.release-please-manifest.json index d7a636b..23eee9e 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.0.43" + ".": "0.0.44" } diff --git a/CHANGELOG.md b/CHANGELOG.md index a2f0a86..eeb25c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## [0.0.44](https://github.com/cloudquery/plugin-pb-java/compare/v0.0.43...v0.0.44) (2026-04-01) + + +### Bug Fixes + +* **deps:** Update dependency org.mockito:mockito-core to v5.23.0 ([#243](https://github.com/cloudquery/plugin-pb-java/issues/243)) ([7eb1d17](https://github.com/cloudquery/plugin-pb-java/commit/7eb1d172e70542f946ef92b633aafd755ac3f68a)) +* **deps:** Update Gradle to v9.4.1 ([#244](https://github.com/cloudquery/plugin-pb-java/issues/244)) ([aac1549](https://github.com/cloudquery/plugin-pb-java/commit/aac15491aa1cc443d1c1694d0c5d9d72b6ff685c)) +* **deps:** Update grpc-java monorepo to v1.80.0 ([#245](https://github.com/cloudquery/plugin-pb-java/issues/245)) ([46232a1](https://github.com/cloudquery/plugin-pb-java/commit/46232a1a6462356f0c8ed8f3d180a712851efe8d)) +* **deps:** Update protobuf monorepo to v4.34.1 ([#246](https://github.com/cloudquery/plugin-pb-java/issues/246)) ([2d1a58a](https://github.com/cloudquery/plugin-pb-java/commit/2d1a58a223335f45589aa1f782d302178624f004)) + ## [0.0.43](https://github.com/cloudquery/plugin-pb-java/compare/v0.0.42...v0.0.43) (2026-03-01) diff --git a/build.gradle b/build.gradle index 1ba8dd4..56b2678 100644 --- a/build.gradle +++ b/build.gradle @@ -12,7 +12,7 @@ application { group 'io.cloudquery' // x-release-please-start-version -version = '0.0.43' +version = '0.0.44' // x-release-please-end repositories { @@ -27,8 +27,8 @@ java { targetCompatibility = 1.8 } -def grpcVersion = '1.79.0' -def protobufVersion = '4.33.5' +def grpcVersion = '1.80.0' +def protobufVersion = '4.34.1' def protocVersion = protobufVersion dependencies { @@ -44,7 +44,7 @@ dependencies { testImplementation "io.grpc:grpc-testing:${grpcVersion}" testImplementation "junit:junit:4.13.2" - testImplementation "org.mockito:mockito-core:5.21.0" + testImplementation "org.mockito:mockito-core:5.23.0" } protobuf { diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 37f78a6..c61a118 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.1-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME