-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1342 from dhis2/update-alpha
chore: update alpha branch
- Loading branch information
Showing
135 changed files
with
13,561 additions
and
6,726 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
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
Implements [LIBS-XXXX](https://dhis2.atlassian.net/browse/LIBS-XXXX) | ||
|
||
--- | ||
|
||
### Key features | ||
|
||
<!-- Remove if not applicable --> | ||
|
||
1. _feature_ | ||
|
||
--- | ||
|
||
### Description | ||
|
||
_text_ | ||
|
||
--- | ||
|
||
### Checklist | ||
|
||
- [ ] Have written Documentation | ||
- _If not needed, explain why, otherwise remove this bullet point_ | ||
- [ ] Has tests coverage | ||
- _If not needed, explain why, otherwise remove this bullet point_ | ||
|
||
--- | ||
|
||
### Known issues | ||
|
||
<!-- Remove if not applicable --> | ||
|
||
- _issue_ | ||
|
||
--- | ||
|
||
### Screenshots | ||
|
||
<!-- Remove if not applicable --> | ||
|
||
_supporting text_ |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: 'dhis2: deploy (netlify)' | ||
|
||
# Requirements: | ||
# | ||
# - Org secrets: | ||
# DHIS2_BOT_NETLIFY_TOKEN | ||
# DHIS2_BOT_GITHUB_TOKEN | ||
# - Repo secrets: | ||
# NETLIFY_SITE_ID | ||
# - Customize the 'jobs.build.steps.netlify-deploy.publish-dir' property | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
concurrency: | ||
group: ${{ github.workflow}}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
if: "!github.event.push.repository.fork && github.actor != 'dependabot[bot]'" | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 14.x | ||
|
||
- uses: c-hive/gha-yarn-cache@v1 | ||
- run: yarn install --frozen-lockfile | ||
|
||
- run: | | ||
yarn build | ||
yarn docs:build | ||
- uses: nwtgck/actions-netlify@v1.1 | ||
with: | ||
production-branch: 'master' | ||
production-deploy: true | ||
github-token: ${{ secrets.DHIS2_BOT_GITHUB_TOKEN }} | ||
deploy-message: 'Deploy documentation site from GitHub Actions' | ||
enable-pull-request-comment: false | ||
enable-commit-comment: false | ||
enable-commit-status: false | ||
publish-dir: 'dist' | ||
env: | ||
NETLIFY_AUTH_TOKEN: ${{ secrets.DHIS2_BOT_NETLIFY_TOKEN }} | ||
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: 'dhis2: verify (commits)' | ||
|
||
on: | ||
pull_request: | ||
types: ['opened', 'edited', 'reopened', 'synchronize'] | ||
|
||
jobs: | ||
lint-pr-title: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: c-hive/gha-yarn-cache@v1 | ||
- run: yarn install --frozen-lockfile | ||
- id: commitlint | ||
run: echo ::set-output name=config_path::$(node -e "process.stdout.write(require('@dhis2/cli-style').config.commitlint)") | ||
- uses: JulienKode/pull-request-name-linter-action@v0.5.0 | ||
with: | ||
configuration-path: ${{ steps.commitlint.outputs.config_path }} | ||
|
||
lint-commits: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- uses: c-hive/gha-yarn-cache@v1 | ||
- run: yarn install --frozen-lockfile | ||
- id: commitlint | ||
run: echo ::set-output name=config_path::$(node -e "process.stdout.write(require('@dhis2/cli-style').config.commitlint)") | ||
- uses: wagoid/commitlint-github-action@v4 | ||
with: | ||
configFile: ${{ steps.commitlint.outputs.config_path }} |
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
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
yarn d2-style check commit "$1" |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
yarn d2-style check --staged |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.