From 2578eb4f0fd205592000cf5560b62aea41b90a4d Mon Sep 17 00:00:00 2001 From: KingRainbow44 Date: Mon, 8 May 2023 01:42:08 -0400 Subject: [PATCH] Fix code format action to push to target branch --- .github/workflows/check_code.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check_code.yml b/.github/workflows/check_code.yml index 6b875e815..c128e1905 100644 --- a/.github/workflows/check_code.yml +++ b/.github/workflows/check_code.yml @@ -45,4 +45,4 @@ jobs: - name: Commit Code Changes run: git add -u && git commit -m 'Format code [skip actions]' || true - name: Push Code Changes - run: git push --set-upstream --force origin development + run: git push --set-upstream --force ${{ github.event.pull_request.base.ref }}