From 4d758397c0de6a5ed22059492daa8ec03801827b Mon Sep 17 00:00:00 2001 From: Austin Hornhead Date: Sun, 12 May 2024 14:13:39 +0000 Subject: [PATCH] chore: use correct branch to push CHANGELOG.md Signed-off-by: Austin Hornhead --- .github/workflows/release-new.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-new.yml b/.github/workflows/release-new.yml index 056c07b..ea1ee75 100644 --- a/.github/workflows/release-new.yml +++ b/.github/workflows/release-new.yml @@ -9,7 +9,9 @@ jobs: name: Build/Sign APK runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + ref: ${{ github.head_ref }} - name: Setup build tool version variable shell: bash @@ -86,7 +88,7 @@ jobs: - name: Commit CHANGELOG.md uses: stefanzweifel/git-auto-commit-action@v5 with: - branch: main + branch: ${{ github.head_ref }} commit_message: 'docs: update CHANGELOG.md for ${{ github.ref_name }} [skip ci]' file_pattern: CHANGELOG.md