Skip to content

Commit

Permalink
Require ci doc check on prs (#1526)
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch authored Aug 6, 2024
1 parent 38aa361 commit 8bbeee0
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/full-help-docs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: CLI Help Doc

on: [push, pull_request]
on:
push:
branches: [main, release/**]
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref_protected == 'true' && github.sha || github.ref }}
Expand All @@ -12,9 +15,17 @@ permissions:
pull-requests: read

jobs:
doc_check:
complete:
if: always()
needs: [doc-check]
runs-on: ubuntu-latest
steps:
- if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
run: exit 1

doc-check:
runs-on: ubuntu-latest-16-cores
steps:
- uses: actions/checkout@v3
- uses: stellar/actions/rust-cache@main
- run: rustup update
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
complete:
if: always()
needs: [fmt, build-and-test, publish-dry-run]
runs-on: ubuntu-latest-16-cores
runs-on: ubuntu-latest
steps:
- if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
run: exit 1
Expand All @@ -31,7 +31,7 @@ jobs:
- run: cargo fmt --all --check

check-generated-examples-list:
runs-on: ubuntu-latest-16-cores
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: make generate-examples-list
Expand Down
4 changes: 2 additions & 2 deletions FULL_HELP_DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,7 @@ By default, when starting a testnet container, without any optional arguments, i

Default value: `8000:8000`
* `-t`, `--image-tag-override <IMAGE_TAG_OVERRIDE>` — Optional argument to override the default docker image tag for the given network
* `-v`, `--protocol-version <PROTOCOL_VERSION>` — Optional argument to specify the protocol version for the local network only
* `--protocol-version <PROTOCOL_VERSION>` — Optional argument to specify the protocol version for the local network only



Expand Down Expand Up @@ -979,7 +979,7 @@ By default, when starting a testnet container, without any optional arguments, i

Default value: `8000:8000`
* `-t`, `--image-tag-override <IMAGE_TAG_OVERRIDE>` — Optional argument to override the default docker image tag for the given network
* `-v`, `--protocol-version <PROTOCOL_VERSION>` — Optional argument to specify the protocol version for the local network only
* `--protocol-version <PROTOCOL_VERSION>` — Optional argument to specify the protocol version for the local network only



Expand Down

0 comments on commit 8bbeee0

Please sign in to comment.