Ser ut som R&R har sin egen call.respond, som vi vil hoppe utenfor (#… #1879
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: etterlatte-klage | |
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-klage/** | |
- libs/saksbehandling-common/** | |
- libs/etterlatte-kafka/** | |
- libs/etterlatte-ktor/** | |
- gradle/libs.versions.toml | |
- "!**/test/**" | |
pull_request: | |
branches: | |
- main | |
paths: | |
- apps/etterlatte-klage/** | |
- "!apps/etterlatte-klage/.nais/*" | |
- libs/saksbehandling-common/** | |
- libs/etterlatte-kafka/** | |
- 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 |