From 59bfaa077e0e6f4f9d2cf7719aa8327c138e6b3e Mon Sep 17 00:00:00 2001 From: DarkFighterLuke Date: Tue, 14 May 2024 19:23:05 +0200 Subject: [PATCH] Use master branch as ref in checkout --- .github/workflows/build.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 7f7ed6e..82e4225 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -14,9 +14,9 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: - ref: ${{ github.ref }} + ref: master fetch-depth: 0 - name: Get release version @@ -74,5 +74,4 @@ jobs: add: manifest.json commit: --signoff message: "Update manifest.json" - push: "origin HEAD:master" - pull: "--no-rebase -X ours origin HEAD:master" + pull: "--no-rebase -X ours origin master"