-
Notifications
You must be signed in to change notification settings - Fork 99
46 lines (40 loc) · 1.05 KB
/
ci.yaml
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
name: Continuous Integration
on:
pull_request:
types:
- opened
- reopened
- synchronize
- ready_for_review
- edited
jobs:
save-pr:
name: Save PR Number
runs-on: ubuntu-latest
steps:
- name: Save PR number
env:
PR_NUMBER: ${{ github.event.number }}
PR_SHA: ${{ github.event.pull_request.head.sha }}
MERGE_SHA: ${{ github.sha }}
run: |
mkdir -p ./pr
echo $PR_NUMBER > ./pr/pr_number
echo $PR_SHA > ./pr/pr_sha
echo $MERGE_SHA > ./pr/merge_sha
- name: Upload PR Number
uses: actions/upload-artifact@v3
with:
name: pr_number
path: pr/
xgovw-validator:
name: xGov Walidator
runs-on: ubuntu-latest
steps:
- name: Checkout xGov Repository
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
- uses: algorandfoundation/xgovw-action@dist
id: xgovw
with:
token: ${{ secrets.GITHUB_TOKEN }}
unchecked: 0000