Skip to content
This repository was archived by the owner on Jul 10, 2026. It is now read-only.

Return None for a missing subnet instead of asserting in subtensor getters #724

Return None for a missing subnet instead of asserting in subtensor getters

Return None for a missing subnet instead of asserting in subtensor getters #724

name: Changelog guard (for release of hotfix)
permissions:
contents: read
on:
pull_request:
branches:
- staging
- master
jobs:
changelog:
if: startsWith(github.head_ref, 'release/') || startsWith(github.head_ref, 'hotfix/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: tj-actions/changed-files@v47.0.5
id: changed
- name: Ensure CHANGELOG.md updated
if: contains(steps.changed.outputs.all_changed_files, 'CHANGELOG.md') == false
uses: actions/github-script@v9
with:
script: core.setFailed('CHANGELOG.md must be updated.')