From 6f762ffebdf852556ffb2dad380ee4b0007eec99 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 13 Mar 2026 20:52:02 +0000 Subject: [PATCH 1/2] Initial plan From ef458587604284a3d794aa8950bc37661ef1fbfb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 13 Mar 2026 20:53:36 +0000 Subject: [PATCH 2/2] docs: update README examples to use v2 Co-authored-by: masci <7241+masci@users.noreply.github.com> --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 53cc8df..82fee22 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ This Action lets you send events and metrics to Datadog from a GitHub workflow. > [!WARNING] > The default branch for this repository has been successfully renamed from `master` to `main`. > Please update any dependent workflows to use the new branch name (`@main`) or, preferably, -> a specific version tag (e.g., `@v1`). While the old `@master` reference is temporarily maintained +> a specific version tag (e.g., `@v2`). While the old `@master` reference is temporarily maintained > as a pointer to the latest release 1.9.3 for backward compatibility, please plan to switch > your workflows as soon as possible, as the `@master` reference will be retired in the future. @@ -23,7 +23,7 @@ configure a job step like the following: ```yaml - name: Build count - uses: masci/datadog@v1 + uses: masci/datadog@v2 with: api-key: ${{ secrets.DATADOG_API_KEY }} metrics: | @@ -43,12 +43,12 @@ might be sending an event when a job has failed: ```yaml steps: - name: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: build run: this-will-fail - name: Datadog if: failure() - uses: masci/datadog@v1 + uses: masci/datadog@v2 with: api-key: ${{ secrets.DATADOG_API_KEY }} events: | @@ -67,12 +67,12 @@ might be sending when a job has failed: ```yaml steps: - name: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: build run: this-will-fail - name: Datadog if: failure() - uses: masci/datadog@v1 + uses: masci/datadog@v2 with: api-key: ${{ secrets.DATADOG_API_KEY }} service-checks: | @@ -91,12 +91,12 @@ might be sending when a job has failed: ```yaml steps: - name: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: build run: this-will-fail - name: Datadog if: failure() - uses: masci/datadog@v1 + uses: masci/datadog@v2 with: api-key: ${{ secrets.DATADOG_API_KEY }} logs: | @@ -111,7 +111,7 @@ steps: ```yaml - name: Datadog - uses: masci/datadog@v1 + uses: masci/datadog@v2 with: # The api key to use. # Type: string