The action is created to control syhthetic test. Especially, to pause at night and run at in the day.
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
Install the dependencies
$ npm install
Before commit your changes
$ npm run pack