Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: dependabot config and remove dev branch from workflows #3107

Merged
merged 3 commits into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions .github/dependabot.yml
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*'
1 change: 0 additions & 1 deletion .github/workflows/dhis2-verify-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
push:
branches:
- 'master'
- 'dev'
tags:
- '*'

Expand Down
4 changes: 3 additions & 1 deletion .hooks/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn validate-commit
yarn d2-app-scripts i18n extract && \
git add i18n && \
yarn d2-style check --staged
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"deploy": "d2-app-scripts deploy",
"lint": "d2-style check",
"format": "d2-style apply",
"validate-commit": "d2-style check --staged",
"validate-push": "yarn test",
"cy:open": "start-server-and-test 'yarn start:nobrowser' http://localhost:3000 'yarn cypress open --e2e --env networkMode=live'",
"cy:run": "start-server-and-test 'yarn start:nobrowser' http://localhost:3000 'yarn cypress run --browser chrome headless --env networkMode=live'"
Expand Down
Loading