Skip to content

EY-4669 Fjerne alle checks i appen #3531

EY-4669 Fjerne alle checks i appen

EY-4669 Fjerne alle checks i appen #3531

name: etterlatte-hendelser-pdl
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-hendelser-pdl/**
- libs/saksbehandling-common/**
- libs/etterlatte-kafka/**
- libs/etterlatte-ktor/**
- libs/etterlatte-pdl-model/**
- gradle/libs.versions.toml
- "!**/test/**"
pull_request:
branches:
- main
paths:
- apps/etterlatte-hendelser-pdl/**
- "!apps/etterlatte-hendelser-pdl/.nais/*"
- libs/saksbehandling-common/**
- libs/etterlatte-kafka/**
- libs/etterlatte-ktor/**
- libs/etterlatte-pdl-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