Skip to content

Commit f265849

Browse files
Simplify invocation of github actions
1 parent eca481c commit f265849

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

.github/workflows/development-generate-pdf-files.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ on:
55
push:
66
branches:
77
- development
8+
workflow_dispatch:
9+
inputs:
10+
reason:
11+
description: 'Reason for manual run'
12+
required: false
13+
default: 'Testing'
14+
add_watermark:
15+
description: 'Add "draft" watermark to PDF?'
16+
required: true
17+
type: boolean
18+
default: true
819

920
concurrency:
1021
group: ${{ github.workflow }}-${{ github.ref }}
@@ -71,6 +82,8 @@ jobs:
7182
export JAVA_TOOL_OPTIONS="-Djavax.xml.XMLConstants.FEATURE_SECURE_PROCESSING=false" ; \
7283
cd ${{ github.workspace }} ; perl build/build.pl
7384
- name: Add draft watermark to the PDF files
85+
# Runs if it's a push OR if the manual trigger 'add_watermark' is true
86+
if: github.event_name == 'push' || inputs.add_watermark == true
7487
run: |
7588
cd ${{ github.workspace }} ; fdfind -e pdf . 'out' -x watermark grid {} "draft"
7689
- name: Calculate the short commit ID

.github/workflows/dotnet-wsdl-check.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
paths:
77
- '**.wsdl'
88
- '**.xsd'
9+
workflow_dispatch:
910

1011
concurrency:
1112
group: ${{ github.workflow }}-${{ github.ref }}

.github/workflows/generate-svg-from-mathml.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
paths:
1010
- doc/equations/*.xml
1111
- doc/equations/*.mml
12+
workflow_dispatch:
1213

1314
concurrency:
1415
group: ${{ github.workflow }}-${{ github.ref }}

.github/workflows/gsoap-wsdl-check.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
paths:
77
- '**.wsdl'
88
- '**.xsd'
9+
workflow_dispatch:
910

1011
concurrency:
1112
group: ${{ github.workflow }}-${{ github.ref }}

0 commit comments

Comments
 (0)