From 990ca7a5b929aefb4fea1bf6356311a727dc8294 Mon Sep 17 00:00:00 2001 From: Crypt Keeper <64215+codefromthecrypt@users.noreply.github.com> Date: Sun, 31 Dec 2023 10:53:43 +0800 Subject: [PATCH] ci: use zipkinci for release like other projects (#8) Signed-off-by: Adrian Cole --- .github/workflows/release.yml | 6 +++--- .github/workflows/test.yml | 7 +++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 17f73dd..44dae40 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,9 +16,9 @@ jobs: uses: actions/checkout@v4 - name: Configure Git - run: | - git config user.name "$GITHUB_ACTOR" - git config user.email "$GITHUB_ACTOR@users.noreply.github.com" + run: | # Allocate commits to CI, not the owner of the deploy key + git config user.name "zipkinci" + git config user.email "zipkinci+zipkin-dev@googlegroups.com" - name: Get latest zipkin version uses: oprypin/find-latest-tag@v1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5796bd1..3f8cede 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,13 +7,10 @@ name: helm_test # We don't test documentation-only commits. on: - # We run tests on non-tagged pushes to master that aren't a commit made by the release plugin push: - tags: "" branches: master paths-ignore: - "**/*.md" - # We also run tests on pull requests targeted at the master branch. pull_request: branches: master paths-ignore: @@ -25,9 +22,11 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + fetch-depth: '0' # to see origin/master - name: Configure Git - run: | + run: | # not zipkinci as this is for testing git config user.name "$GITHUB_ACTOR" git config user.email "$GITHUB_ACTOR@users.noreply.github.com"