Skip to content

Commit 263e4e8

Browse files
committed
ci: set Datadog team in functional workflow runs
- Adds a new job to the functional workflow to set the Datadog team using the set-datadog-team workflow from dx-team-toolkit. This will associate workflow results with the integrations team in Datadog. - Removes the report_status job in favor of centralizing notifications with Datadog monitors.
1 parent 13fe0b5 commit 263e4e8

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/functional.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ on:
99
- cron: '0 5 * * *'
1010

1111
jobs:
12+
set_datadog_team:
13+
name: 'Set Datadog team'
14+
uses: fingerprintjs/dx-team-toolkit/.github/workflows/set-datadog-team.yml@v1
15+
secrets:
16+
DD_API_KEY: ${{ secrets.INTEGRATIONS_DATADOG_API_KEY }}
17+
1218
functional_tests:
1319
name: "Functional Tests PHP ${{ matrix.php_version }}"
1420
runs-on: "ubuntu-latest"
@@ -35,12 +41,3 @@ jobs:
3541
FP_PRIVATE_API_KEY: "${{ secrets.FP_PRIVATE_API_KEY }}"
3642
FP_API_HOST: "${{ secrets.FP_API_HOST }}"
3743

38-
report-status:
39-
needs: functional_tests
40-
if: always()
41-
uses: fingerprintjs/dx-team-toolkit/.github/workflows/report-workflow-status.yml@v1
42-
with:
43-
notification_title: 'PHP SDK Tests has {status_message}'
44-
job_status: ${{ needs.functional_tests.result }}
45-
secrets:
46-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

0 commit comments

Comments
 (0)