From 6c03b81ee2383ae7f10d9a70304df58d48c58a3e Mon Sep 17 00:00:00 2001 From: Wouter Date: Fri, 20 Oct 2023 10:34:48 +0200 Subject: [PATCH] use token to push changes in version --- .github/workflows/bump_version.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bump_version.yml b/.github/workflows/bump_version.yml index 9a47df55..298c287f 100644 --- a/.github/workflows/bump_version.yml +++ b/.github/workflows/bump_version.yml @@ -28,5 +28,9 @@ jobs: sed -i "1 s/.*/version: $PROJECT_VERSION/" template_input.yaml git add template_input.yaml git add pyproject.toml + - name: push changes + uses: ad-m/github-push-action@main + with: + github-token: ${{ secrets.VERSION_DECOIMPACT }} git commit -m "bump up patch version from workflow: version $PROJECT_VERSION" - git push + force_with_lease: true