We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd96794 commit 40448e7Copy full SHA for 40448e7
.github/workflows/maven.yml
@@ -17,16 +17,19 @@
17
18
name: Java CI
19
20
-on: [push, pull_request]
+on: [push, pull_request, workflow_dispatch]
21
22
# clear all permissions for GITHUB_TOKEN
23
permissions: {}
24
25
jobs:
26
build:
27
28
- # execute on any push or pull request from forked repo
29
- if: github.event_name == 'push' || ( github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork )
+ # execute on any push, workflow_dispatch or pull request from forked repo
+ if: >
30
+ github.event_name == 'push' ||
31
+ github.event_name == 'workflow_dispatch' ||
32
+ ( github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork )
33
34
strategy:
35
matrix:
0 commit comments