Initial labels setup for Pezkuwi SDK

This commit is contained in:
2025-11-27 16:52:00 +03:00
commit 5692f6a0a3
19 changed files with 594 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
name: Check label Rules
on:
push:
branches: [main]
pull_request:
env:
IMAGE: paritytech/ruled_labels:0.4.0
jobs:
check-label-rules:
runs-on: ubuntu-latest
strategy:
matrix:
repo: [polkadot-sdk]
steps:
- name: Checkout sources
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Pull image
run: docker pull $IMAGE
- name: Check label Rules for ${{ matrix.repo }}
env:
MOUNT: /work
RULES_PATH: ruled_labels
run: |
docker run --rm -i -v $PWD/${RULES_PATH}/:$MOUNT $IMAGE test -s ${MOUNT}/specs_${{ matrix.repo }}.yaml ${MOUNT}/tests_${{ matrix.repo }}.yaml