Skip to content

Commit

Permalink
Update validation workflow (#67)
Browse files Browse the repository at this point in the history
* Update validation workflow to validate removed files
  • Loading branch information
sergeyk-symbiotic authored Jan 30, 2025
1 parent 8142f31 commit 416835a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/validate-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,28 @@ jobs:
- 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: Checkout upstream
uses: actions/checkout@v4
with:
path: upstream
ref: main
repository: ${{ github.event.pull_request.base.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
upstream-checkout-path: upstream
network-registry: "0x7d03b7343bf8d5cec7c0c27ece084a20113d15c9"
operator-registry: "0x6f75a4fff97326a00e52662d82ea4fde86a2c548"
vault-registry: "0x407a039d94948484d356efb765b3c74382a050b4"

0 comments on commit 416835a

Please sign in to comment.