improve prdoc generation (#5931)
Related to https://github.com/paritytech/polkadot-sdk/pull/5924#issuecomment-2393558697 improve prdoc arguments validation & help: - convert audiences options to snake_case. Fixes https://github.com/paritytech/polkadot-sdk/issues/5927 - support more than one audiences - define allowed bump options - infer --pr from the actual PR (now it's optional, can still be overwritten)  Test evidence: https://github.com/paritytech-stg/polkadot-sdk/pull/52/commits/6dd274e3678d287c163cfa6cb696acee9852767d
parent
97a6ea53
Showing
- .github/scripts/cmd/cmd.py 1 addition, 1 deletion.github/scripts/cmd/cmd.py
- .github/scripts/generate-prdoc.py 17 additions, 11 deletions.github/scripts/generate-prdoc.py
- .github/workflows/cmd.yml 21 additions, 7 deletions.github/workflows/cmd.yml
- .github/workflows/command-prdoc.yml 8 additions, 11 deletions.github/workflows/command-prdoc.yml
- docs/contributor/commands-readme.md 1 addition, 0 deletionsdocs/contributor/commands-readme.md
Please register or sign in to comment