Skip to content

Hotfix/logg bedre enhetsfordeling #10532

Hotfix/logg bedre enhetsfordeling

Hotfix/logg bedre enhetsfordeling #10532

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