From 7c2e791ab1977902b8eb9e731c81c24f36f396e7 Mon Sep 17 00:00:00 2001 From: Ulysse Mavrocordatos Date: Mon, 12 Oct 2026 14:33:49 +0200 Subject: [PATCH] fix(ci): post datadog-api-spec statuses to ddoghq org datadog-api-spec moved from DataDog to ddoghq and the DataDog copy is archived, so posting review/CI statuses to DataDog/datadog-api-spec 404s. Point both the octo-sts token scope and the status actions at ddoghq. --- .github/workflows/approved_status.yml | 3 ++- .github/workflows/ci.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/approved_status.yml b/.github/workflows/approved_status.yml index 8c8a94b9..d3b3b3bd 100644 --- a/.github/workflows/approved_status.yml +++ b/.github/workflows/approved_status.yml @@ -29,11 +29,12 @@ jobs: id: get_token uses: DataDog/dd-octo-sts-action@c85802a58e202b7e764b5441e4378c76043c8108 # v1.0.5 with: - scope: DataDog/datadog-api-spec + scope: ddoghq/datadog-api-spec policy: pup.approved_status.post-review-status - name: Post PR review status check uses: DataDog/github-actions/post-review-status@65b4875f33ad773d7ba4b005a2cb5f35020295f3 # v2.3.0 with: github-token: ${{ steps.get_token.outputs.token }} + owner: ddoghq repo: datadog-api-spec context: pup/main diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fff5cd1d..488c45e8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -261,12 +261,13 @@ jobs: - uses: DataDog/dd-octo-sts-action@c85802a58e202b7e764b5441e4378c76043c8108 # v1.0.5 id: octo-sts with: - scope: DataDog/datadog-api-spec + scope: ddoghq/datadog-api-spec policy: pup.ci.post-status-check - name: Post status check uses: DataDog/github-actions/post-status-check@65b4875f33ad773d7ba4b005a2cb5f35020295f3 # v2.3.0 with: github-token: ${{ steps.octo-sts.outputs.token }} + owner: ddoghq repo: datadog-api-spec # A cancelled run was superseded by a newer push to the generated branch. status: ${{ contains(needs.*.result, 'cancelled') && 'pending' || (contains(needs.*.result, 'failure') || contains(needs.*.result, 'skipped')) && 'failure' || 'success' }}