-
Notifications
You must be signed in to change notification settings - Fork 383
36 lines (34 loc) · 807 Bytes
/
retry.yml
File metadata and controls
36 lines (34 loc) · 807 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Retry
on:
workflow_run:
branches:
- dependabot/**
- master
- mq-working-branch-master-*
- v[0-9]+.[0-9]+.[0-9]+-proposal
- v[0-9]+.x
types:
- completed
workflows:
- APM Capabilities
- APM Integrations
- AppSec
- Debugger
- LLMObs
- Platform
- Profiling
- Project
- Serverless
- System Tests
- Test Optimization
jobs:
retry:
runs-on: ubuntu-latest
permissions:
actions: write
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: github.event.workflow_run.conclusion == 'failure' && github.event.workflow_run.run_attempt == 1
steps:
- run: |
gh run rerun ${{ github.event.workflow_run.id }} --repo DataDog/dd-trace-js --failed || exit 0