chore(deps-dev): bump org.mockito:mockito-core from 5.18.0 to 5.20.0 #419
Workflow file for this run
This file contains hidden or 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: Deploy to staging | |
| permissions: | |
| contents: read | |
| packages: write | |
| on: | |
| pull_request: | |
| types: [ready_for_review, opened, reopened, synchronize] | |
| branches: | |
| - main | |
| jobs: | |
| build-reference-data: | |
| name: Build when pull request is created | |
| if: ${{ github.actor != 'dependabot[bot]' && github.event.pull_request.draft == false }} | |
| uses: Informasjonsforvaltning/workflows/.github/workflows/build-push.yaml@main | |
| with: | |
| app_name: reference-data | |
| java_version: '21' | |
| coverage_file_path: ./target/site/jacoco/jacoco.xml | |
| environment: staging | |
| secrets: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
| deploy-to-staging: | |
| name: Deploy to staging environment | |
| if: ${{ github.actor != 'dependabot[bot]' && github.event.pull_request.draft == false }} | |
| needs: [ build-reference-data ] | |
| uses: Informasjonsforvaltning/workflows/.github/workflows/kustomize-deploy.yaml@main | |
| with: | |
| app_name: reference-data | |
| environment: staging | |
| cluster: digdir-fdk-dev | |
| secrets: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| DIGDIR_FDK_AUTODEPLOY: ${{ secrets.DIGDIR_FDK_DEV_AUTODEPLOY }} | |
| SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
| dependabot-build: | |
| name: Build image on PR from dependabot | |
| if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request' }} | |
| uses: Informasjonsforvaltning/workflows/.github/workflows/build.yaml@main | |
| with: | |
| java_version: '21' |