Skip to content

fix: handle both Set and array for currentUser.authorities when checking interpretations access [DHIS2-15964] #1978

fix: handle both Set and array for currentUser.authorities when checking interpretations access [DHIS2-15964]

fix: handle both Set and array for currentUser.authorities when checking interpretations access [DHIS2-15964] #1978

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/[email protected]
with:
configuration-path: ${{ steps.commitlint.outputs.config_path }}