fix: [DHIS2-21708] Org unit selector is expanded when form open if no org unit in top bar #8011
This file contains hidden or 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
| name: 'dhis2: verify (commits)' | |
| on: | |
| pull_request: | |
| types: ['opened', 'edited', 'reopened', 'synchronize'] | |
| jobs: | |
| lint-pr-title: | |
| if: github.event.pull_request.user.login != 'dependabot[bot]' && github.event.pull_request.user.login != 'dhis2-bot' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| cache: '' | |
| - uses: ./.github/actions/safe-yarn-install-using-cache | |
| - 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: | |
| if: github.event.pull_request.user.login != 'dependabot[bot]' && github.event.pull_request.user.login != 'dhis2-bot' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| cache: '' | |
| - uses: ./.github/actions/safe-yarn-install-using-cache | |
| - 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 }} |