Skip to content

EY-4818: Ny common #3360

EY-4818: Ny common

EY-4818: Ny common #3360

name: etterlatte-utbetaling
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-utbetaling/**
- libs/saksbehandling-common/**
- libs/etterlatte-jobs/**
- libs/etterlatte-database/**
- libs/etterlatte-migrering-model/**
- libs/etterlatte-mq/**
- libs/etterlatte-utbetaling-model/**
- libs/etterlatte-vedtaksvurdering-model/**
- gradle/libs.versions.toml
- "!**/test/**"
pull_request:
branches:
- main
paths:
- apps/etterlatte-utbetaling/**
- "!apps/etterlatte-utbetaling/.nais/*"
- libs/saksbehandling-common/**
- libs/etterlatte-jobs/**
- libs/etterlatte-database/**
- libs/etterlatte-migrering-model/**
- libs/etterlatte-mq/**
- libs/etterlatte-utbetaling-model/**
- libs/etterlatte-vedtaksvurdering-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