-
Notifications
You must be signed in to change notification settings - Fork 557
56 lines (49 loc) · 1.38 KB
/
pr.yml
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: Pull Request
on:
pull_request:
types: [opened, synchronize]
branches:
- develop
- feat/*
- main
- release/v[0-9]+.[0-9]+.[0-9]+
jobs:
build:
uses: ./.github/workflows/build.yml
e2e:
uses: ./.github/workflows/e2e.yml
lint:
uses: ./.github/workflows/lint-app.yml
teams:
runs-on: ubuntu-latest
if: false && github.base_ref == 'develop' # temporarily disabled
steps:
- uses: convictional/[email protected]
with:
owner: voxel51
repo: fiftyone-teams
github_token: ${{ secrets.FIFTYONE_GITHUB_TOKEN }}
github_user: voxel51-bot
workflow_file_name: merge-oss.yml
ref: develop
wait_interval: 20
client_payload: |
{
"author": "${{ github.event.pull_request.user.login }}",
"branch": "${{ github.head_ref || github.ref_name }}",
"pr": ${{ github.event.pull_request.number }}
}
propagate_failure: true
trigger_workflow: true
wait_workflow: true
test:
uses: ./.github/workflows/test.yml
all-tests:
runs-on: ubuntu-latest
needs: [build, lint, test]
if: always()
steps:
- run: sh -c ${{
needs.build.result == 'success' &&
needs.lint.result == 'success' &&
needs.test.result == 'success' }}