Skip to content

Commit f519ac1

Browse files
committed
wip
1 parent e49835f commit f519ac1

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

.github/workflows/ValidatePullRequest.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,17 @@ jobs:
3939
rust:
4040
needs:
4141
- docs-pr
42-
if: ${{needs.docs-pr.outputs.not-just-docs == 'true'}}
4342
uses: ./.github/workflows/dep_rust.yml
4443
secrets: inherit
44+
with:
45+
docs_only: ${{needs.docs-pr.outputs.not-just-docs == 'false'}}
4546
fuzzing:
4647
needs:
4748
- docs-pr
48-
if: ${{needs.docs-pr.outputs.not-just-docs == 'true'}}
4949
uses: ./.github/workflows/dep_fuzzing.yml
5050
with:
5151
max_total_time: 300 # 5 minutes in seconds
52+
docs_only: ${{needs.docs-pr.outputs.not-just-docs == 'false'}}
5253
secrets: inherit
5354

5455
#####

.github/workflows/dep_fuzzing.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,19 @@ on:
77
description: Maximum total time for the fuzz run in seconds
88
required: true
99
type: number
10+
docs_only:
11+
description: If docs only, don't fuzz, just complete successfully
12+
required: false
13+
type: string
14+
default: "false"
1015

1116
permissions:
1217
id-token: write
1318
contents: read
1419

1520
jobs:
1621
fuzz:
22+
if: ${{ inputs.docs_only == 'true' }}
1723
runs-on: [ self-hosted, Linux, X64, "1ES.Pool=hld-kvm-amd" ]
1824
steps:
1925
- name: Checkout code

.github/workflows/dep_rust.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ name: Rust Tests and Lints
55
# See README.md in this directory for more information about workflow_call
66
on:
77
workflow_call:
8+
inputs:
9+
docs_only:
10+
description: If docs only, don't fuzz, just complete successfully
11+
required: false
12+
type: string
13+
default: "false"
814

915
env:
1016
CARGO_TERM_COLOR: always
@@ -16,6 +22,7 @@ permissions:
1622

1723
jobs:
1824
build:
25+
if: ${{inputs.docs_only == 'true'}}
1926
strategy:
2027
fail-fast: true
2128
matrix:

0 commit comments

Comments
 (0)