From f74e6e95e9249b8e57483356dec383aa6fe2e76b Mon Sep 17 00:00:00 2001 From: Chrimle Date: Fri, 11 Oct 2024 01:59:08 +0200 Subject: [PATCH] Push to origin/HEAD --- .github/workflows/pullRequestAudit.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/pullRequestAudit.yml b/.github/workflows/pullRequestAudit.yml index 672b1b5c..f0b487a9 100644 --- a/.github/workflows/pullRequestAudit.yml +++ b/.github/workflows/pullRequestAudit.yml @@ -96,9 +96,6 @@ jobs: git config --global user.name "github-actions[bot]" git config --global user.email "github-actions[bot]@users.noreply.github.com" - # Check out the branch for the pull request - git checkout ${{ github.head_ref }} - git add pom.xml git commit -m "Update project version $current_version -> $new_version" || echo "No changes to commit." - git push origin ${{ github.head_ref }} + git push origin HEAD