adm: never use GetContractStateByID(1) to retrieve NNS hash #2276
Workflow file for this run
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: CHANGELOG check | |
on: | |
pull_request: | |
branches: | |
- master | |
- support/** | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Check for updates | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Get changed CHANGELOG | |
id: changelog-diff | |
uses: tj-actions/changed-files@v42 | |
with: | |
files: CHANGELOG.md | |
- name: Fail if changelog not updated | |
if: steps.changelog-diff.outputs.any_changed == 'false' | |
uses: actions/github-script@v7 | |
with: | |
script: | | |
core.setFailed('CHANGELOG.md has not been updated') |