Skip to content

feat(tck): implement appendFile JSON-RPC method #1352

feat(tck): implement appendFile JSON-RPC method

feat(tck): implement appendFile JSON-RPC method #1352

# This workflow checks that all test files in the repository follow the naming convention of ending with "_test.py".
name: Primary PR Check - Test Files Naming
on:
push:
branches: [main]
paths:
- "tests/**"
pull_request:
types: [opened, synchronize, review_requested, ready_for_review, reopened]
paths:
- "tests/**"
permissions:
contents: read
concurrency:
group: pr-checks-${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
check-test-files:
runs-on: ${{ (github.event.pull_request.head.repo.full_name == github.repository && github.repository_owner == 'hiero-ledger') && 'hl-sdk-py-lin-md' || 'ubuntu-latest' }}
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@e14015d583714f6e62063499dc959a02595150a1 # v2.21.1
with:
egress-policy: audit
- name: Checkout repository (shallow)
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 1 # Only fetch the latest commit
- name: Set up Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: '20'
- name: Run test file naming check
run: node .github/scripts/pr-check-test-files.js