Add workflow id to Datadog event tags (#4965)

This commit is contained in:
Silvano Cerza 2023-05-19 16:52:39 +02:00 committed by GitHub
parent 58bb5f09e4
commit ce4cf3bc55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 0 deletions

View File

@ -71,5 +71,6 @@ jobs:
tags:
- "project:${{ github.repository }}"
- "job:${{ github.job }}"
- "workflow:${{ github.run_id }}"
- "branch:${{ github.ref_name }}"
- "url:https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"

View File

@ -89,6 +89,7 @@ jobs:
tags:
- "project:${{ github.repository }}"
- "job:${{ github.job }}"
- "workflow:${{ github.run_id }}"
- "branch:${{ github.ref_name }}"
- "url:https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
@ -145,5 +146,6 @@ jobs:
tags:
- "project:${{ github.repository }}"
- "job:${{ github.job }}"
- "workflow:${{ github.run_id }}"
- "branch:${{ github.ref_name }}"
- "url:https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"

View File

@ -94,6 +94,7 @@ jobs:
tags:
- "project:${{ github.repository }}"
- "job:${{ github.job }}"
- "workflow:${{ github.run_id }}"
- "branch:${{ github.ref_name }}"
- "url:https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
@ -166,6 +167,7 @@ jobs:
tags:
- "project:${{ github.repository }}"
- "job:${{ github.job }}"
- "workflow:${{ github.run_id }}"
- "branch:${{ github.ref_name }}"
- "url:https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
@ -235,6 +237,7 @@ jobs:
tags:
- "project:${{ github.repository }}"
- "job:${{ github.job }}"
- "workflow:${{ github.run_id }}"
- "branch:${{ github.ref_name }}"
- "url:https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
@ -287,6 +290,7 @@ jobs:
tags:
- "project:${{ github.repository }}"
- "job:${{ github.job }}"
- "workflow:${{ github.run_id }}"
- "branch:${{ github.ref_name }}"
- "url:https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
@ -347,6 +351,7 @@ jobs:
tags:
- "project:${{ github.repository }}"
- "job:${{ github.job }}"
- "workflow:${{ github.run_id }}"
- "branch:${{ github.ref_name }}"
- "url:https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
@ -399,6 +404,7 @@ jobs:
tags:
- "project:${{ github.repository }}"
- "job:${{ github.job }}"
- "workflow:${{ github.run_id }}"
- "branch:${{ github.ref_name }}"
- "url:https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
@ -451,6 +457,7 @@ jobs:
tags:
- "project:${{ github.repository }}"
- "job:${{ github.job }}"
- "workflow:${{ github.run_id }}"
- "branch:${{ github.ref_name }}"
- "url:https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
@ -513,6 +520,7 @@ jobs:
tags:
- "project:${{ github.repository }}"
- "job:${{ github.job }}"
- "workflow:${{ github.run_id }}"
- "branch:${{ github.ref_name }}"
- "url:https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
@ -567,6 +575,7 @@ jobs:
tags:
- "project:${{ github.repository }}"
- "job:${{ github.job }}"
- "workflow:${{ github.run_id }}"
- "branch:${{ github.ref_name }}"
- "url:https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
@ -619,6 +628,7 @@ jobs:
tags:
- "project:${{ github.repository }}"
- "job:${{ github.job }}"
- "workflow:${{ github.run_id }}"
- "branch:${{ github.ref_name }}"
- "url:https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
@ -671,6 +681,7 @@ jobs:
tags:
- "project:${{ github.repository }}"
- "job:${{ github.job }}"
- "workflow:${{ github.run_id }}"
- "branch:${{ github.ref_name }}"
- "url:https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
@ -723,6 +734,7 @@ jobs:
tags:
- "project:${{ github.repository }}"
- "job:${{ github.job }}"
- "workflow:${{ github.run_id }}"
- "branch:${{ github.ref_name }}"
- "url:https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"