From 168381bd99cab7dade7bd39913af5fbac151554c Mon Sep 17 00:00:00 2001 From: mamahoos Date: Tue, 18 Aug 2026 22:30:37 +0330 Subject: [PATCH] fix: skip Test workflow for docs-only changes Ignore markdown, LICENSE, and .gitattributes so README updates do not trigger the full CI suite. Bump version to 2.0.1. --- .github/workflows/test.yml | 8 ++++++++ pgsync.sh | 2 +- tests/unit/cli.bats | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 48fe626..a239bb4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,8 +3,16 @@ name: Test on: push: branches: [main] + paths-ignore: + - "**.md" + - LICENSE + - .gitattributes pull_request: branches: [main] + paths-ignore: + - "**.md" + - LICENSE + - .gitattributes jobs: lint: diff --git a/pgsync.sh b/pgsync.sh index 1e06d14..159224c 100755 --- a/pgsync.sh +++ b/pgsync.sh @@ -9,7 +9,7 @@ # set -euo pipefail -VERSION="2.0.0" +VERSION="2.0.1" QUIET=false VERBOSE=false diff --git a/tests/unit/cli.bats b/tests/unit/cli.bats index b759234..41d7d9b 100644 --- a/tests/unit/cli.bats +++ b/tests/unit/cli.bats @@ -6,7 +6,7 @@ setup() { @test "version prints semver on stderr" { run --separate-stderr "$PGSYNC" --version [ "$status" -eq 0 ] - [ "$stderr" = "pgsync 2.0.0" ] + [ "$stderr" = "pgsync 2.0.1" ] [ -z "$output" ] }