Skip to content

Commit

Permalink
fix: deprecate semantic pr check
Browse files Browse the repository at this point in the history
  • Loading branch information
ismay committed Apr 21, 2022
1 parent e16bf29 commit 812896f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion config/d2-style.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
tools: {
eslint: ['react'],
prettier: [],
github: ['dependabot', 'semantic-pr', 'stale'],
github: ['dependabot', 'stale'],
editorconfig: [],
commitlint: [],
},
Expand Down
2 changes: 0 additions & 2 deletions src/utils/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ const projectConfigs = {
renovate: path.join(PROJECT_ROOT, 'renovate.json'),
github: {
dependabot: path.join(PROJECT_ROOT, '.github', 'dependabot.yml'),
semantic: path.join(PROJECT_ROOT, '.github', 'semantic.yml'),
stale: path.join(PROJECT_ROOT, '.github', 'stale.yml'),
'workflow-node': path.join(
PROJECT_ROOT,
Expand Down Expand Up @@ -105,7 +104,6 @@ const templateConfigs = {
renovate: path.join(TEMPLATE_DIR, 'renovate-base.json'),
github: {
dependabot: path.join(TEMPLATE_DIR, 'github-dependabot.yml'),
semantic: path.join(TEMPLATE_DIR, 'github-semantic.yml'),
stale: path.join(TEMPLATE_DIR, 'github-stale.yml'),
'workflow-node': url.parse(
'https://raw.githubusercontent.com/dhis2/workflows/master/ci/dhis2-verify-node.yml'
Expand Down
5 changes: 4 additions & 1 deletion src/utils/paths.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ const PROJECT_HOOKS_DIR = path.join(PROJECT_ROOT, '.hooks')

const STYLE_CONFIG_FILES = ['d2-style.config.js', 'd2-style.js']

const DEPRECATED_CONFIGS = [path.join(PROJECT_ROOT, '.huskyrc.js')]
const DEPRECATED_CONFIGS = [
path.join(PROJECT_ROOT, '.huskyrc.js'),
path.join(PROJECT_ROOT, '.github', 'semantic.yml')
]

module.exports = {
CONSUMING_ROOT,
Expand Down
4 changes: 0 additions & 4 deletions templates/github-semantic.yml

This file was deleted.

0 comments on commit 812896f

Please sign in to comment.