diff --git a/.github/workflows/bump.yml b/.github/workflows/bump.yml index 4a4f48eec..86ef5ec8a 100644 --- a/.github/workflows/bump.yml +++ b/.github/workflows/bump.yml @@ -74,7 +74,7 @@ jobs: id: upgrade run: | git config user.name 'github-actions[bot]' - git config user.email '<41898282+github-actions[bot]@users.noreply.github.com>' + git config user.email '<224724778+hedgehog-dataplane-update[bot]@users.noreply.github.com>' BASE="$(git rev-parse HEAD)" # Run "cargo update" diff --git a/.github/workflows/version-bump.yml b/.github/workflows/version-bump.yml index 31611f037..b9dc2c51c 100644 --- a/.github/workflows/version-bump.yml +++ b/.github/workflows/version-bump.yml @@ -73,7 +73,7 @@ jobs: if [ -n '${{ inputs.new_version }}' ]; then just bump_version '${{ inputs.new_version }}' else - just bump_minor_version --input=toml + just bump_minor_version fi " new_version="$(nix-shell --run "tomlq --raw-output '.workspace.package.version' Cargo.toml")" @@ -86,7 +86,7 @@ jobs: exit 0 fi git config user.name 'github-actions[bot]' - git config user.email '<41898282+github-actions[bot]@users.noreply.github.com>' + git config user.email '<224724778+hedgehog-dataplane-update[bot]@users.noreply.github.com>' git commit -sam "bump: Bump dataplane version" - name: "Create Pull Request" @@ -103,4 +103,5 @@ jobs: Do not forget to tag after merging! labels: | automated + draft: "true" sign-commits: "true" diff --git a/justfile b/justfile index 841d3f4ad..8ad226842 100644 --- a/justfile +++ b/justfile @@ -285,8 +285,8 @@ depgraph: # Bump the minor version in Cargo.toml and reset patch version to 0 [script] -bump_minor_version yq_flags="": - CURRENT_VERSION="$(yq -r {{ yq_flags }} '.workspace.package.version' Cargo.toml)" +bump_minor_version: + CURRENT_VERSION="$(tomlq --raw-output '.workspace.package.version' Cargo.toml)" echo "Current version: ${CURRENT_VERSION}" MAJOR_VNUM="$(cut -d. -f1 <<<"${CURRENT_VERSION}")" MINOR_VNUM="$(cut -d. -f2 <<<"${CURRENT_VERSION}")"