Skip to content

chore(deps): bump the test-versions group across 1 directory with 36 updates #23674

chore(deps): bump the test-versions group across 1 directory with 36 updates

chore(deps): bump the test-versions group across 1 directory with 36 updates #23674

Workflow file for this run

name: All Green
on:
pull_request:
push:
branches:
- master
schedule:
- cron: 0 4 * * *
concurrency:
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.run_id || github.ref }}
cancel-in-progress: true
jobs:
all-green:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: DataDog/dd-octo-sts-action@96a25462dbcb10ebf0bfd6e2ccc917d2ab235b9a # v1.0.4
id: octo-sts
with:
scope: DataDog/dd-trace-js
policy: all-green
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
sparse-checkout-cone-mode: false
sparse-checkout: |
.github
scripts
- uses: ./.github/actions/node
with:
version: active
- run: yarn add @actions/core @actions/github octokit
- run: node scripts/all-green.mjs
env:
DELAY: ${{ github.run_attempt == 1 && '1' || '0' }} # 1 minute on first attempt, no delay on reruns
RUN_ATTEMPT: ${{ github.run_attempt }}
GITHUB_PR_NUMBER: ${{ github.event.pull_request.number }}
GITHUB_TOKEN: ${{ steps.octo-sts.outputs.token }}
POLLING_INTERVAL: 1
RETRIES: 20
- if: "!cancelled()"
uses: ./.github/actions/dd-sts-api-key
id: dd-sts
- if: "!cancelled()"
uses: ./.github/actions/datadog-ci
- if: "!cancelled()"
run: datadog-ci junit upload --service dd-trace-js-tests --auto-discovery junit-results
env:
DD_API_KEY: ${{ steps.dd-sts.outputs.api_key }}
- if: "!cancelled()"
run: datadog-ci coverage upload coverage-results
env:
DD_API_KEY: ${{ steps.dd-sts.outputs.api_key }}