Skip to content

Commit 46258ed

Browse files
committed
[ci] GitHub Secrets can not be access from Pull Requests, see: https://github.com/eXist-db/exist/settings/secrets/actions
1 parent 53406b4 commit 46258ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci-test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
timeout-minutes: 60
2121
dependencies:
2222
name: Dependency checks
23+
if: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/develop' }}
2324
runs-on: ubuntu-latest
2425
steps:
2526
- uses: actions/checkout@v4
@@ -66,7 +67,7 @@ jobs:
6667
if: ${{ matrix.os == 'ubuntu-latest' }}
6768
run: ${{ steps.install-mvnd.outputs.mvnd-dir }}/mvnd -V -B -q -T 1C install javadoc:javadoc -DskipTests -D'dependency-check.skip' -D'license.skip' --projects '!exist-distribution,!exist-installer' --also-make
6869
- name: Maven Code Coverage (Develop branch on Linux only)
69-
if: ${{ github.ref == 'refs/heads/develop' && matrix.os == 'ubuntu-latest' }}
70+
if: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/develop' && matrix.os == 'ubuntu-latest' }}
7071
env:
7172
CI_NAME: github
7273
BRANCH_NAME_OR_REF: ${{ github.head_ref || github.ref }}

0 commit comments

Comments
 (0)