Fix/verfy pr (#2518)

* Stale workflow only on hawkbit project

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>

* Fix verifying PR - checkout from the repo

---------

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2025-06-30 09:02:31 +03:00
committed by GitHub
parent f99de6aa92
commit 2a5f47df3f
3 changed files with 9 additions and 2 deletions

View File

@@ -22,5 +22,6 @@ jobs:
verify-hibernate:
uses: ./.github/workflows/reusable_workflow_verify.yaml
with:
ref: ${{ github.event_name == 'push' && github.ref || github.event_name == 'pull_request' && github.event.pull_request.head.ref || github.event_name == 'workflow_dispatch' && github.ref }}
repository: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repository || github.repositor }}
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || github.ref }}
maven_properties: '-Djpa.vendor=hibernate -Dlogging.level.org.hibernate.collection.spi.AbstractPersistentCollection=ERROR'