From 0c0cdbf96e3fbfa8f1c7dfbe430e71b8bc0e3619 Mon Sep 17 00:00:00 2001 From: Brett Saviano Date: Wed, 29 May 2024 14:07:41 -0400 Subject: [PATCH] Skip CI for version bump commit --- .github/workflows/main.yml | 2 +- .github/workflows/prerelease.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fe3a719..33d2deb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -121,7 +121,7 @@ jobs: git config --global user.email 'bot@users.noreply.github.com' jq --arg version "${NEXT_VERSION}-SNAPSHOT" '.version = $version' package.json > "$tmp" && mv "$tmp" package.json git add package.json - git commit -m 'auto bump version with release' + git commit -m 'auto bump version with release [skip ci]' jq --arg version "$VERSION" '.version = $version' package.json > "$tmp" && mv "$tmp" package.json jq 'del(.enableProposedApi,.enabledApiProposals)' package.json > "$tmp" && mv "$tmp" package.json npm install diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index a19564f..fc7bf9f 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -123,7 +123,7 @@ jobs: git config --global user.email 'bot@users.noreply.github.com' jq --arg version "${NEXT_VERSION}-SNAPSHOT" '.version = $version' package.json > "$tmp" && mv "$tmp" package.json git add package.json - git commit -m 'auto bump version after pre-release' + git commit -m 'auto bump version after pre-release [skip ci]' jq --arg version "$VERSION" '.version = $version' package.json > "$tmp" && mv "$tmp" package.json npm install jq 'del(.enableProposedApi,.enabledApiProposals)' package.json > "$tmp" && mv "$tmp" package.json