mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 16:25:49 +00:00
various fixes...
This commit is contained in:
parent
705c14c23c
commit
e940afbaa6
2 changed files with 30 additions and 0 deletions
1
.github/workflows/gradle-build.yml
vendored
1
.github/workflows/gradle-build.yml
vendored
|
@ -64,6 +64,7 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
- name: Run GitHub Action for ORT
|
||||
uses: oss-review-toolkit/ort-ci-github-action@v1
|
||||
continue-on-error: true
|
||||
with:
|
||||
allow-dynamic-versions: 'true'
|
||||
fail-on: 'violations'
|
||||
|
|
29
.github/workflows/run_tests.yml
vendored
Normal file
29
.github/workflows/run_tests.yml
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
name: Trigger tests
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ development, release/** ]
|
||||
|
||||
env:
|
||||
IMAGE_NAME: ${{ github.repository }}
|
||||
|
||||
jobs:
|
||||
style_checks:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Build
|
||||
if: ${{ github.actor == 'justrp' }}
|
||||
env:
|
||||
PR_NUMBER: ${{ github.event.number }}
|
||||
PR_REF_OWNER: ${{ github.event.pull_request.head.repo.owner.login }}
|
||||
PR_REF_BRANCH: ${{ github.head_ref }}
|
||||
TOKEN: ${{ secrets.PIPELINE_TRIGGER_TOKEN }}
|
||||
PIPELINE_TRIGGER_URL: ${{ secrets.PIPELINE_TRIGGER_URL }}
|
||||
run: |
|
||||
curl -X POST \
|
||||
--fail \
|
||||
-F "token=${TOKEN}" \
|
||||
-F "ref=deleteme-chikovani" \
|
||||
-F "variables[CORE_VERSION]=${PR_NUMBER}-${PR_REF_OWNER}/${PR_REF_BRANCH}" \
|
||||
"${PIPELINE_TRIGGER_URL}"
|
Loading…
Reference in a new issue