From 88c769c3f9c07666c52c24368b911bbc635759ba Mon Sep 17 00:00:00 2001 From: Rinde van Lon Date: Thu, 2 Mar 2023 13:51:57 +0000 Subject: [PATCH] create temporary commit --- .github/workflows/pr.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 274d842..bfcaa01 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -54,6 +54,12 @@ jobs: if: ${{ steps.calc_version.outputs.version }} != "" run: | sed -i "s/^version = \".*\"$/version = \"${{ steps.calc_version.outputs.version }}\"/" Cargo.toml + - name: Commit new version to main but don't push + if: ${{ steps.calc_version.outputs.version }} != "" + run: | + git config --global user.email "rust-maintainers@moiaorg.onmicrosoft.com" + git config --global user.name "MOIA Rust Maintainers" + git commit -am "Phantom release ${{ steps.calc_version.outputs.version }} [skip ci]" - name: Check semver uses: obi1kenobi/cargo-semver-checks-action@v1 with: