diff --git a/.github/workflows/readme.yml b/.github/workflows/readme.yml new file mode 100644 index 000000000..1b844a8ab --- /dev/null +++ b/.github/workflows/readme.yml @@ -0,0 +1,34 @@ +name: Verify Readme + +on: + pull_request: + +permissions: + contents: read + +jobs: + verify-readme: + name: Run Verification + runs-on: ubuntu-latest + steps: + - name: Checkout Sources + uses: actions/checkout@v5 + with: + fetch-depth: 0 + + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v4 + + - name: Check Platforms Table + run: ./gradlew updateDocsChangelog --info --stacktrace + + - name: Check if readme is changed in a propper branch + run: | + if [[ -n "$(git status --porcelain | grep README.md)" ]]; then + target_branch=${{ github.base_ref }} + pr_branch=${{ github.head_ref }} + if [[ "$target_branch" == "main" && ! "$pr_branch" =~ ^release-.* ]]; then + echo "README.md change targeting main can only be done in release-* branches" + exit 1 + fi + fi diff --git a/CHANGELOG.md b/CHANGELOG.md index 68a0c272a..7fe3d029d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ # 0.10.0 -> Published 1 October 2025 +> Published 7 October 2025 ## Overview This release brings a lot of changes, work: diff --git a/docs/pages/kotlinx-rpc/topics/changelog.md b/docs/pages/kotlinx-rpc/topics/changelog.md index 229c46023..6546d749c 100644 --- a/docs/pages/kotlinx-rpc/topics/changelog.md +++ b/docs/pages/kotlinx-rpc/topics/changelog.md @@ -3,7 +3,7 @@ This page contains all changes throughout releases of the library. ## 0.10.0 -> Published 1 October 2025 +> Published 7 October 2025 **Full Changelog**: [0.9.1...0.10.0](https://github.com/Kotlin/kotlinx-rpc/compare/0.9.1...0.10.0)