Check the presence of changelog for the latest stable release in History.md (#1999)
* Documentation/History.md: update version format according to git tag for easiest automation * Add test check for changelog of the latest stable version * Add git config permissions routine to test docs via push.yml * scripts/deploy.sh fixes * making shellcheck happy due to false negative in deploy.sh * push.yml: fetch tags for test docs * push.yml: set fetch depth trying to get tags * deploy.sh printf debugging * deploy.sh: remove printf debugging * push.yml: rename step from check_readme to check_docs to reflect its function
This commit is contained in:
11
.github/workflows/push.yml
vendored
11
.github/workflows/push.yml
vendored
@@ -208,7 +208,7 @@ jobs:
|
||||
exclude: "./.git/*" # Optional.
|
||||
check_all_files_with_shebangs: "false" # Optional.
|
||||
|
||||
check_readme:
|
||||
check_docs:
|
||||
runs-on: ubuntu-22.04
|
||||
container:
|
||||
image: alpine:3.19
|
||||
@@ -220,6 +220,11 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
fetch-tags: true
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Check autogenerated Documentation/README.md
|
||||
run: /bin/sh ./scripts/deploy.sh docs_readme
|
||||
- name: Git ownership exception
|
||||
run: git config --global --add safe.directory /__w/IronOS/IronOS && git config --global safe.directory "$GITHUB_WORKSPACE"
|
||||
|
||||
- name: Check and verify documentation
|
||||
run: /bin/sh ./scripts/deploy.sh docs
|
||||
|
||||
Reference in New Issue
Block a user