forked from windingtree/glider-aggregator
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (32 loc) · 990 Bytes
/
reviews.yml
File metadata and controls
40 lines (32 loc) · 990 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
name: Pull Request Reviews Handling
on:
pull_request_review:
types:
- submitted
- dismissed
jobs:
check_reviews:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
run: npm ci
- name: Check PR Reviews Approvals
uses: ./.github/actions/checkApprovals
with:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_EXT }}
- name: Local merge
uses: ./.github/actions/localMerge
- name: Deploy localy merged branch
uses: ./.github/actions/deployNow
with:
NOW_TOKEN: ${{ secrets.NOW_TOKEN }}
NOW_PROJECT_ID: ${{ secrets.NOW_PROJECT_ID }}
NOW_ORG_ID: ${{ secrets.NOW_ORG_ID }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_EXT }}
- name: Run test suite
run: npm run test:newman
- name: Run PR merge
uses: ./.github/actions/prMerge
with:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_EXT }}