Skip to content

Commit adc46bd

Browse files
feat(build): add workflow_dispatch event trigger
1 parent ecc1eeb commit adc46bd

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Run Tests
22

33
on:
4+
workflow_dispatch:
45
push:
56
pull_request:
67
branches: [ main ]

.github/workflows/trigger_snapshot.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
jobs:
99
Trigger-Snapshot:
1010
runs-on: ubuntu-latest
11+
# forks cannot trigger Jenkins
12+
if: github.repository == 'eclipse-edc/GradlePlugins'
1113
steps:
1214
# Trigger EF Jenkins. This job waits for Jenkins to complete the publishing, which may take a long time, because every
1315
# module is signed individually, and parallelism is not available. Hence, the increased timeout of 3600 seconds.
@@ -16,7 +18,7 @@ jobs:
1618
id: runjenkins
1719
uses: toptal/jenkins-job-trigger-action@master
1820
with:
19-
jenkins_url: "https://ci.eclipse.org/dataspaceconnector/"
21+
jenkins_url: "https://ci.eclipse.org/edc/"
2022
jenkins_user: ${{ secrets.EF_JENKINS_USER }}
2123
jenkins_token: ${{ secrets.EF_JENKINS_TOKEN }}
2224
# empty params are needed, otherwise the job will fail.

0 commit comments

Comments
 (0)