Skip to content

ci: refer to workflows by version #37

ci: refer to workflows by version

ci: refer to workflows by version #37

name: test-and-release
on: push
concurrency:
group: ${{ github.workflow}}-${{ github.ref }}
# Cancel previous runs if not on a release branch
cancel-in-progress: ${{ !contains(github.ref, fromJSON('["master", "main"]')) }}
jobs:
lint-commits:
uses: dhis2/workflows-test/.github/workflows/[email protected]
lint:
uses: dhis2/workflows-test/.github/workflows/[email protected]
test:
uses: dhis2/workflows-test/.github/workflows/[email protected]
e2e:
uses: dhis2/workflows-test/.github/workflows/[email protected]
# Skips forks and dependabot PRs
if: '!github.event.push.repository.fork'
secrets: inherit
release:
needs: [lint, test, e2e]
uses: dhis2/workflows-test/.github/workflows/[email protected]
# Skips forks and dependabot PRs
if: '!github.event.push.repository.fork'
secrets: inherit