-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GITFLOW]merging 'release-1.67.0' into 'master'
- Loading branch information
Showing
778 changed files
with
22,051 additions
and
8,382 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,17 +6,21 @@ name: Java CI with Maven | |
env: | ||
JAVA: 11 | ||
PRIVILEGED_RUN: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/development') || github.event.pull_request.head.repo.full_name == github.repository }} | ||
|
||
CODEQL_LANGUAGES: 'java' # FIXME(@JonasCir) add 'javascript' | ||
on: | ||
push: | ||
branches: [ development, master, hotfix* ] | ||
pull_request: | ||
branches: [ development, hotfix* ] | ||
|
||
workflow_dispatch: # run it manually from the GH Actions web console | ||
schedule: | ||
- cron: '35 1 * * 0' | ||
jobs: | ||
test: | ||
name: mvn verify | ||
ci: | ||
name: SORMAS CI | ||
runs-on: ubuntu-latest | ||
permissions: | ||
security-events: write | ||
|
||
steps: | ||
- name: Checkout repository (with token) | ||
|
@@ -35,6 +39,11 @@ jobs: | |
if: ${{ !fromJSON(env.PRIVILEGED_RUN) }} | ||
uses: actions/checkout@v2 | ||
|
||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v1 | ||
with: | ||
languages: ${{ env.CODEQL_LANGUAGES }} | ||
|
||
- name: Set up JDK ${{ env.JAVA }} | ||
uses: actions/setup-java@v1 | ||
with: | ||
|
@@ -56,6 +65,9 @@ jobs: | |
working-directory: ./sormas-base | ||
run: mvn verify -B -ntp | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v1 | ||
|
||
- name: Commit external visits API spec to development | ||
# Privileged action needing a secret token. Since this only runs on development in our own repo | ||
# the token will be available through a privileged checkout. | ||
|
@@ -64,12 +76,17 @@ jobs: | |
run: | | ||
git config --global user.name "sormas-vitagroup" | ||
git config --global user.email "[email protected]" | ||
mkdir /tmp/openapi | ||
cp sormas-rest/target/external_visits_API.* /tmp/openapi | ||
git fetch | ||
git checkout development | ||
git pull | ||
rm -rf openapi | ||
mkdir openapi/ | ||
cp sormas-rest/target/external_visits_API.* openapi | ||
cp -r /tmp/openapi . | ||
git add openapi | ||
git commit -m "[GitHub Actions] Update external visits API spec files" | ||
git pull --rebase | ||
git push |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks | ||
name: Skip Required Status | ||
|
||
on: | ||
push: | ||
branches: [development] | ||
|
||
jobs: | ||
mergefreeze: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Make mergefreeze pass if we want to commit external visits API spec to development | ||
if: github.event_name == 'push' && github.ref == 'refs/heads/development' | ||
run: 'echo "Skipping mergefreeze check for bot"' |
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
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
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
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
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
Oops, something went wrong.