From c523afd2246409d63c52cd0c747c5f2faad1b6b7 Mon Sep 17 00:00:00 2001 From: Robbie Davis Date: Sun, 17 Mar 2024 14:52:14 -0400 Subject: [PATCH] Update develop-workflow.yml --- .github/workflows/develop-workflow.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/develop-workflow.yml b/.github/workflows/develop-workflow.yml index f4c7363f0..8cff216e3 100644 --- a/.github/workflows/develop-workflow.yml +++ b/.github/workflows/develop-workflow.yml @@ -21,7 +21,7 @@ jobs: build: name: Upload Kavita.Common for Version Bump runs-on: ubuntu-latest - if: github.event.pull_request.merged == true && ( github.event.pull_request.head.ref == 'develop' || !contains(github.event.pull_request.head.ref, 'release') ) + if: github.head.ref == 'develop' steps: - name: Checkout Repo uses: actions/checkout@v3 @@ -37,7 +37,7 @@ jobs: name: Bump version needs: [ build ] runs-on: ubuntu-latest - if: github.event.pull_request.merged == true && ( github.event.pull_request.head.ref == 'develop' || !contains(github.event.pull_request.head.ref, 'release') ) + if: github.head.ref == 'develop' steps: - uses: actions/checkout@v3 with: @@ -59,7 +59,7 @@ jobs: name: Build Nightly Docker needs: [ build, version ] runs-on: ubuntu-latest - if: github.event.pull_request.merged == true && ( github.event.pull_request.head.ref == 'develop' || !contains(github.event.pull_request.head.ref, 'release') ) + if: github.head.ref == 'develop' permissions: packages: write contents: read