EY-4869 Sender meldinger om avbrutt behandling til statistikk der det mangler #10536
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
name: etterlatte-behandling | |
on: | |
workflow_dispatch: # Allow manually triggered workflow run | |
inputs: | |
deploy-prod: | |
description: 'Deploy til produksjon' | |
required: false | |
default: 'false' | |
type: choice | |
options: | |
- true | |
- false | |
push: | |
branches: | |
- main | |
paths: | |
- apps/etterlatte-behandling/** | |
- libs/saksbehandling-common/** | |
- libs/etterlatte-jobs/** | |
- libs/etterlatte-institusjonsopphold-model/** | |
- libs/etterlatte-oppgave-model/** | |
- libs/etterlatte-behandling-model/** | |
- libs/etterlatte-ktor/** | |
- libs/etterlatte-database/** | |
- libs/etterlatte-migrering-model/** | |
- libs/etterlatte-pdl-model/** | |
- libs/etterlatte-sporingslogg/** | |
- libs/etterlatte-vedtaksvurdering-model/** | |
- libs/etterlatte-omregning-model/** | |
- libs/etterlatte-inntektsjustering-model/** | |
- libs/etterlatte-vilkaarsvurdering-model/** | |
- libs/etterlatte-funksjonsbrytere/** | |
- libs/rapidsandrivers-extras/** | |
- gradle/libs.versions.toml | |
- "!**/test/**" | |
pull_request: | |
branches: | |
- main | |
paths: | |
- apps/etterlatte-behandling/** | |
- "!apps/etterlatte-behandling/.nais/*" | |
- libs/saksbehandling-common/** | |
- libs/etterlatte-jobs/** | |
- libs/etterlatte-institusjonsopphold-model/** | |
- libs/etterlatte-behandling-model/** | |
- libs/etterlatte-ktor/** | |
- libs/etterlatte-migrering-model/** | |
- libs/etterlatte-pdl-model/** | |
- libs/etterlatte-omregning-model/** | |
- libs/etterlatte-inntektsjustering-model/** | |
- libs/etterlatte-database/** | |
- libs/etterlatte-sporingslogg/** | |
- libs/etterlatte-vedtaksvurdering-model/** | |
- libs/etterlatte-funksjonsbrytere/** | |
- libs/rapidsandrivers-extras/** | |
- gradle/libs.versions.toml | |
permissions: | |
contents: write | |
id-token: write | |
jobs: | |
test: | |
if: github.event_name == 'pull_request' | |
uses: ./.github/workflows/.test.yaml | |
secrets: inherit | |
build-and-deploy: | |
if: github.event_name != 'pull_request' | |
uses: ./.github/workflows/.build-and-deploy.yaml | |
secrets: inherit |