Skip to content

ugurtemiz/datadog-synthetic-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Datadog Synthetic Action

Build Status

The action is created to control syhthetic test. Especially, to pause at night and run at in the day.

Usage

With Certain Public IDs:

- name: Test
  uses: ugurtemiz/datadog-synthetic-action@v1
  with:
    datadog-api-key: ${{secrets.DATADOG_API_KEY}}
    datadog-application-key: ${{secrets.DATADOG_APPLICATION_KEY}}
    public-ids: "a8c-1e3-ghi,4k5-mno-p7r"
    new-status: "live" # or paused

With tags:

- name: Test
  uses: ugurtemiz/datadog-synthetic-action@v1.1
  with:
    datadog-api-key: ${{secrets.DATADOG_API_KEY}}
    datadog-application-key: ${{secrets.DATADOG_APPLICATION_KEY}}
    tags: "myproject,sleep@night"
    new-status: "live" # or paused

Development

Install the dependencies

$ npm install

Before commit your changes

$ npm run pack