File tree Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 1616 is-high-risk-environment : false
1717
1818 - run : yarn lint
19+ - name : Validate RC changelog
20+ if : ${{ startsWith(github.head_ref, 'release/') }}
21+ run : yarn lint:changelog --rc
22+ - name : Validate changelog
23+ if : ${{ !startsWith(github.head_ref, 'release/') }}
24+ run : yarn lint:changelog
1925
2026 - name : Require clean working directory
2127 shell : bash
Original file line number Diff line number Diff line change 1+ # Changelog
2+
3+ All notable changes to this project will be documented in this file.
4+
5+ The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
6+ and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
7+
8+ ## [ Unreleased]
9+
10+ [ Unreleased ] : https://github.com/MetaMask/github-tools/
Original file line number Diff line number Diff line change 33 "version" : " 0.0.0" ,
44 "private" : true ,
55 "description" : " Tools for interacting with the GitHub API to do metrics gathering" ,
6+ "repository" : {
7+ "type" : " git" ,
8+ "url" : " https://github.com/MetaMask/github-tools.git"
9+ },
610 "scripts" : {
711 "changelog:check" : " ts-node src/changelog-check.ts" ,
812 "count-references-to-contributor-docs" : " ts-node --swc src/scripts/count-references-to-contributor-docs/cli.ts" ,
913 "gen:commits" : " node .github/scripts/generate-rc-commits.mjs" ,
1014 "get-review-metrics" : " ts-node src/get-review-metrics.ts" ,
1115 "lint" : " yarn lint:tsc && yarn lint:eslint && yarn lint:constraints && yarn lint:misc --check && yarn lint:dependencies --check" ,
1216 "lint:constraints" : " yarn constraints" ,
17+ "lint:changelog" : " auto-changelog validate --prettier" ,
1318 "lint:dependencies" : " depcheck && yarn dedupe" ,
1419 "lint:eslint" : " eslint . --cache --ext js,ts" ,
1520 "lint:fix" : " yarn lint:eslint --fix && yarn lint:constraints --fix && yarn lint:misc --write && yarn lint:dependencies" ,
You can’t perform that action at this time.
0 commit comments