-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (33 loc) · 944 Bytes
/
pull-request-label.yml
File metadata and controls
39 lines (33 loc) · 944 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
37
38
39
name: PR
on:
pull_request:
types: [labeled]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
pull-requests: write
jobs:
test-robot-label:
if: github.event.label.name == 'test-robot-done'
name: Job
uses: ./.github/workflows/test-robot-label.yml
with:
label-test-robot-done: test-robot-done
label-test-robot-needed: test-robot-needed
test-robot-check:
needs: test-robot-label
if: always() && needs.test-robot-label.result != 'failure'
name: Job
uses: ./.github/workflows/test-robot-check.yml
with:
label-test-robot-done: test-robot-done
label-test-robot-needed: test-robot-needed
ensure-ci-success:
needs: test-robot-check
if: needs.test-robot-check.result != 'skipped'
runs-on: ubuntu-latest
steps:
- name: Run Ensure CI Success
uses: DataDog/ensure-ci-success@v2