-
Notifications
You must be signed in to change notification settings - Fork 68
39 lines (33 loc) · 1.08 KB
/
validate-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
name: Validate Pull Request
on:
pull_request_target:
branches:
- main
jobs:
validate-pr:
runs-on: ubuntu-24.04
timeout-minutes: 5
permissions:
pull-requests: write
steps:
- name: Detect changed files
uses: yumemi-inc/changed-files@v3
id: changes
with:
exclude-statuses: 'removed'
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Validate
if: steps.changes.outputs.exists == 'true'
uses: symbioticfi/metadata-validation-scripts@main
with:
files: ${{ steps.changes.outputs.files }}
issue: ${{ github.event.number }}
token: ${{ secrets.GITHUB_TOKEN }}
chain-id: 17000
network-registry: "0x7d03b7343bf8d5cec7c0c27ece084a20113d15c9"
operator-registry: "0x6f75a4fff97326a00e52662d82ea4fde86a2c548"
vault-registry: "0x407a039d94948484d356efb765b3c74382a050b4"