@rtorcato/repo-tooling 3.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,6 +5,7 @@ import { resolveLanguageModule } from '../../languages/registry.js';
5
5
  import { SWIFT_GIT_HOOKS, runSwiftChecks } from '../../languages/swift/checks.js';
6
6
  import { detectLanguage } from '../utils/detect-language.js';
7
7
  import { checkGitHubSettings } from '../../base/github-settings.js';
8
+ import { checkGitIdentity } from '../../base/git-identity.js';
8
9
  import { LOCKFILE_VERSION, readLockfile } from '../utils/lockfile.js';
9
10
  import { declinedInLock, getFixTargetForCheck } from './fix-targets.js';
10
11
  import { checkAiSetup, checkCodeowners, checkCodeQL, checkCommunityHealth, checkCoverageUpload, checkDependabot, checkEditorConfig, checkFile, checkGitHooks, checkGitHubActions, checkGitLabCI, checkPrePushHook, checkReadmeBadges, COMMITLINT_FILE_CHECK, } from '../../base/checks.js';
@@ -140,6 +141,7 @@ function demoteDeclined(results, lock) {
140
141
  async function runBaseChecks(dir, lock, opts) {
141
142
  const results = [];
142
143
  results.push(checkLockfile(lock));
144
+ results.push(await checkGitIdentity(dir));
143
145
  results.push(await checkEditorConfig(dir));
144
146
  results.push(await checkFile(dir, COMMITLINT_FILE_CHECK));
145
147
  if (opts.hooks) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rtorcato/repo-tooling",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
4
  "description": "One CLI to scaffold, audit and fix your repo's whole toolchain — linting, tests, commits, releases & CI.",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -43,6 +43,13 @@ export default {
43
43
  {
44
44
  assets: ['CHANGELOG.md', 'package.json', 'README.md'],
45
45
  message: 'chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}',
46
+ // Don't label the "release is failing" issue. The default is
47
+ // ['semantic-release'], and GitHub rejects issue creation outright when
48
+ // the label doesn't exist on the repo — so a failed release fails *again*
49
+ // with a 422 that buries the real error under an octokit stack trace.
50
+ // false keeps the issue (and its post-mortem) without requiring every
51
+ // consuming repo to pre-create a label.
52
+ labels: false,
46
53
  },
47
54
  ],
48
55
  [