Add 0x820837d73D240317D491F859e87de99e38c15fb7 operator info #83
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Validate Pull Request | |
on: | |
workflow_dispatch: | |
pull_request: | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
validate-pr: | |
runs-on: ubuntu-24.04 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '22' | |
- name: Install dependencies | |
run: npm install tsx @actions/core @actions/github sharp ajv ajv-formats json-source-map | |
- name: Detect changed files | |
uses: yumemi-inc/changed-files@v3 | |
id: changes | |
- name: Validate file structure | |
run: npx tsx .github/workflows/scripts/validate-fs.ts ${{ steps.changes.outputs.files }} | |
id: files | |
- name: Validate metadata | |
if: steps.files.outputs.metadata | |
run: npx tsx .github/workflows/scripts/validate-metadata.ts ${{ steps.files.outputs.metadata }} | |
- name: Validate logo | |
if: steps.files.outputs.logo | |
run: npx tsx .github/workflows/scripts/validate-logo.ts ${{ steps.files.outputs.logo }} |