Skip to content

EY-4669 Fjerne alle checks i appen #2694

EY-4669 Fjerne alle checks i appen

EY-4669 Fjerne alle checks i appen #2694

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