From 5519c0285e07ed91947ddb6b4d2895efb8491020 Mon Sep 17 00:00:00 2001 From: Sergey Kambalin Date: Thu, 30 Jan 2025 13:23:10 +0600 Subject: [PATCH] Validate collateral existence in upstream branch --- .github/workflows/validate-pr.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validate-pr.yml b/.github/workflows/validate-pr.yml index ed7c81d..ac76d0f 100644 --- a/.github/workflows/validate-pr.yml +++ b/.github/workflows/validate-pr.yml @@ -24,13 +24,21 @@ jobs: ref: ${{ github.event.pull_request.head.ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} + - name: Checkout upstream + uses: actions/checkout@v4 + with: + path: upstream + ref: ${{ github.event.pull_request.base.ref }} + repository: ${{ github.event.pull_request.base.repo.full_name }} + - name: Validate - uses: symbioticfi/metadata-validation-scripts@main + uses: symbioticfi/metadata-validation-scripts@SYMB-282-validate-tokens-in-main with: files: ${{ steps.changes.outputs.files }} issue: ${{ github.event.number }} token: ${{ secrets.GITHUB_TOKEN }} chain-id: 17000 + upstream-checkout-path: upstream network-registry: "0x7d03b7343bf8d5cec7c0c27ece084a20113d15c9" operator-registry: "0x6f75a4fff97326a00e52662d82ea4fde86a2c548" vault-registry: "0x407a039d94948484d356efb765b3c74382a050b4"