-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: dependabot config and remove dev branch from workflows (#3027)
Three changes: * do not run the git verify-app workflow on the 'dev' branch since it is no longer in use * configure dependabot to group together deps, reducing number of PRs and workflow runs. * add localization strings to commit in the pre-commit hook (this is how LL does it) dhis2 dependencies will still come as separate PRs (like analytics, ui, cli-app-scripts...)
- Loading branch information
1 parent
e3bd1e4
commit 9454825
Showing
3 changed files
with
19 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,22 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: npm | ||
directory: '/' | ||
directory: / | ||
schedule: | ||
interval: weekly | ||
open-pull-requests-limit: 10 | ||
open-pull-requests-limit: 5 | ||
versioning-strategy: increase | ||
groups: | ||
security: | ||
applies-to: security-updates | ||
update-types: | ||
- minor | ||
- patch | ||
dependencies: | ||
applies-to: version-updates | ||
update-types: | ||
- minor | ||
- patch | ||
exclude-patterns: | ||
- '*@dhis2*' | ||
- '*i18next*' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,6 @@ on: | |
push: | ||
branches: | ||
- 'master' | ||
- 'dev' | ||
tags: | ||
- '*' | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
yarn d2-style check --staged | ||
yarn d2-app-scripts i18n extract && \ | ||
git add i18n && \ | ||
yarn d2-style check --staged |