Externalize tokens for Danger, use correct base branch ref

This commit is contained in:
Andreas Dangel
2020-11-13 14:27:26 +01:00
parent be07f5b8c8
commit 7e35165c01
7 changed files with 13 additions and 17 deletions

View File

@@ -34,5 +34,5 @@ jobs:
shell: bash
env:
MAVEN_OPTS: -Dmaven.wagon.httpconnectionManager.ttlSeconds=180 -Dmaven.wagon.http.retryHandler.count=3
PMD_CI_BRANCH: ${{ github.ref }}
PMD_CI_BRANCH: ${{ github.event.base.ref }}
PMD_CI_PULL_REQUEST_NUMBER: ${{ github.event.number }}