-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (35 loc) · 972 Bytes
/
pull-request.yml
File metadata and controls
42 lines (35 loc) · 972 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
40
41
42
name: PR
on:
pull_request:
types: [opened, synchronize, reopened]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
packages: write
pull-requests: write
jobs:
test-robot-unlabel:
if: github.event.action == 'synchronize'
name: Job
uses: ./.github/workflows/test-robot-unlabel.yml
with:
label-test-robot-done: test-robot-done
label-test-robot-needed: test-robot-needed
build:
needs: test-robot-unlabel
if: ${{ !failure() && !cancelled() && needs.test-robot-unlabel.result != 'failure' }}
name: Job
uses: ./.github/workflows/build.yml
test-robot-check:
needs: build
name: Job
uses: ./.github/workflows/test-robot-check.yml
with:
label-test-robot-done: test-robot-done
label-test-robot-needed: test-robot-needed
all-green:
needs: test-robot-check
name: Job
uses: ./.github/workflows/all-green.yml