Skip to content

Kaste internfeil dersom SøkerPdlV1 mangler fra Grunnlag (#6616) #7694

Kaste internfeil dersom SøkerPdlV1 mangler fra Grunnlag (#6616)

Kaste internfeil dersom SøkerPdlV1 mangler fra Grunnlag (#6616) #7694

name: etterlatte-brev-api
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-brev-api/**
- libs/saksbehandling-common/**
- libs/etterlatte-ktor/**
- libs/etterlatte-behandling-model/**
- libs/etterlatte-beregning-model/**
- libs/etterlatte-database/**
- libs/etterlatte-migrering-model/**
- libs/etterlatte-trygdetid-model/**
- libs/etterlatte-vedtaksvurdering-model/**
- libs/etterlatte-vilkaarsvurdering-model/**
- libs/etterlatte-brev-model/**
- libs/etterlatte-oppgave-model/**
- libs/etterlatte-tilbakekreving-model/**
- gradle/libs.versions.toml
- "!**/test/**"
pull_request:
branches:
- main
paths:
- apps/etterlatte-brev-api/**
- "!apps/etterlatte-brev-api/.nais/*"
- libs/saksbehandling-common/**
- libs/etterlatte-ktor/**
- libs/etterlatte-behandling-model/**
- libs/etterlatte-beregning-model/**
- libs/etterlatte-database/**
- libs/etterlatte-migrering-model/**
- libs/etterlatte-trygdetid-model/**
- libs/etterlatte-vedtaksvurdering-model/**
- libs/etterlatte-vilkaarsvurdering-model/**
- libs/etterlatte-brev-model/**
- libs/etterlatte-oppgave-model/**
- libs/etterlatte-tilbakekreving-model/**
- 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