From 23d784b0db1e6f229c5ba618b5c8e9744e74374a Mon Sep 17 00:00:00 2001 From: jack-berg <34418638+jack-berg@users.noreply.github.com> Date: Thu, 21 Nov 2024 10:49:15 -0600 Subject: [PATCH] Use opentelemetrybot git user for releases (#23) --- .github/scripts/use-cla-approved-github-bot.sh | 4 ++++ .github/workflows/release-build.yml | 2 ++ 2 files changed, 6 insertions(+) create mode 100755 .github/scripts/use-cla-approved-github-bot.sh diff --git a/.github/scripts/use-cla-approved-github-bot.sh b/.github/scripts/use-cla-approved-github-bot.sh new file mode 100755 index 0000000..a4c68b0 --- /dev/null +++ b/.github/scripts/use-cla-approved-github-bot.sh @@ -0,0 +1,4 @@ +#!/bin/bash -e + +git config user.name opentelemetrybot +git config user.email 107717825+opentelemetrybot@users.noreply.github.com diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index aa7abe2..b8bfd29 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -21,6 +21,8 @@ jobs: with: distribution: adopt java-version: 17 + - name: Use CLA approved github bot + run: .github/scripts/use-cla-approved-github-bot.sh - uses: burrunan/gradle-cache-action@v1.10 with: remote-build-cache-proxy-enabled: false