-
Notifications
You must be signed in to change notification settings - Fork 59
29 lines (25 loc) · 883 Bytes
/
build.yml
File metadata and controls
29 lines (25 loc) · 883 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Build with Maven
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
build:
uses: openmrs/openmrs-contrib-gha-workflows/.github/workflows/build-backend-module.yml@main
permissions:
contents: read
id-token: write
secrets:
MAVEN_REPO_USERNAME: ${{ secrets.MAVEN_REPO_USERNAME }}
MAVEN_REPO_API_KEY: ${{ secrets.MAVEN_REPO_API_KEY }}
owasp-dependency-check:
if: ${{ github.event_name != 'pull_request' }}
uses: openmrs/openmrs-contrib-gha-workflows/.github/workflows/owasp-dependency-check.yml@main
secrets:
NVD_API_KEY: ${{ secrets.NVD_API_KEY }}
BOT_GH_TOKEN: ${{ secrets.OMRS_BOT_GH_TOKEN }}