From 14f44528f80c54bef15d022c74041d765a5c549a Mon Sep 17 00:00:00 2001 From: danielxnj <115043334+danielxnj@users.noreply.github.com> Date: Tue, 27 Aug 2024 17:03:01 -0400 Subject: [PATCH] chore: Add workflow run timestamp (#24618) Co-authored-by: xneyder --- .github/workflows/container-images-cd.yml | 15 ++++++++++----- .github/workflows/livestream-docker-image.yml | 3 ++- .github/workflows/rust-docker-build.yml | 3 ++- .github/workflows/vector-docker-build-deploy.yml | 3 ++- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/.github/workflows/container-images-cd.yml b/.github/workflows/container-images-cd.yml index 18888e9e3b301..06741577bc8ba 100644 --- a/.github/workflows/container-images-cd.yml +++ b/.github/workflows/container-images-cd.yml @@ -99,7 +99,8 @@ jobs: "release": "posthog", "commit": ${{ toJson(github.event.head_commit) }}, "repository": ${{ toJson(github.repository) }}, - "labels": ${{ steps.labels.outputs.labels }} + "labels": ${{ steps.labels.outputs.labels }}, + "timestamp": "${{ github.event.head_commit.timestamp }}" } - name: Check for changes in plugins directory @@ -124,7 +125,8 @@ jobs: "release": "ingestion", "commit": ${{ toJson(github.event.head_commit) }}, "repository": ${{ toJson(github.repository) }}, - "labels": ${{ toJson(steps.labels.outputs.labels) }} + "labels": ${{ toJson(steps.labels.outputs.labels) }}, + "timestamp": "${{ github.event.head_commit.timestamp }}" } - name: Check for changes that affect batch exports temporal worker @@ -149,7 +151,8 @@ jobs: "release": "temporal-worker", "commit": ${{ toJson(github.event.head_commit) }}, "repository": ${{ toJson(github.repository) }}, - "labels": ${{ steps.labels.outputs.labels }} + "labels": ${{ steps.labels.outputs.labels }}, + "timestamp": "${{ github.event.head_commit.timestamp }}" } - name: Check for changes that affect general purpose temporal worker @@ -174,7 +177,8 @@ jobs: "release": "temporal-worker-general-purpose", "commit": ${{ toJson(github.event.head_commit) }}, "repository": ${{ toJson(github.repository) }}, - "labels": ${{ steps.labels.outputs.labels }} + "labels": ${{ steps.labels.outputs.labels }}, + "timestamp": "${{ github.event.head_commit.timestamp }}" } - name: Check for changes that affect data warehouse temporal worker @@ -199,5 +203,6 @@ jobs: "release": "temporal-worker-data-warehouse", "commit": ${{ toJson(github.event.head_commit) }}, "repository": ${{ toJson(github.repository) }}, - "labels": ${{ steps.labels.outputs.labels }} + "labels": ${{ steps.labels.outputs.labels }}, + "timestamp": "${{ github.event.head_commit.timestamp }}" } diff --git a/.github/workflows/livestream-docker-image.yml b/.github/workflows/livestream-docker-image.yml index 231a76ddaf5f7..7023ee98c03f1 100644 --- a/.github/workflows/livestream-docker-image.yml +++ b/.github/workflows/livestream-docker-image.yml @@ -84,5 +84,6 @@ jobs: }, "release": "livestream", "commit": ${{ toJson(github.event.head_commit) }}, - "repository": ${{ toJson(github.repository) }} + "repository": ${{ toJson(github.repository) }}, + "timestamp": "${{ github.event.head_commit.timestamp }}" } diff --git a/.github/workflows/rust-docker-build.yml b/.github/workflows/rust-docker-build.yml index 63a20445e15ee..2343df89289ee 100644 --- a/.github/workflows/rust-docker-build.yml +++ b/.github/workflows/rust-docker-build.yml @@ -124,5 +124,6 @@ jobs: "release": "capture-replay", "commit": ${{ toJson(github.event.head_commit) }}, "repository": ${{ toJson(github.repository) }}, - "labels": [] + "labels": [], + "timestamp": "${{ github.event.head_commit.timestamp }}" } diff --git a/.github/workflows/vector-docker-build-deploy.yml b/.github/workflows/vector-docker-build-deploy.yml index be27aab697897..a1d97f846f298 100644 --- a/.github/workflows/vector-docker-build-deploy.yml +++ b/.github/workflows/vector-docker-build-deploy.yml @@ -101,5 +101,6 @@ jobs: "release": "replay-capture-vector", "commit": ${{ toJson(github.event.head_commit) }}, "repository": ${{ toJson(github.repository) }}, - "labels": [] + "labels": [], + "timestamp": "${{ github.event.head_commit.timestamp }}" }