From 9ef306045292fa8d5c6f5b0e0e94a98054a9e2c3 Mon Sep 17 00:00:00 2001 From: WithoutPants <53250216+WithoutPants@users.noreply.github.com> Date: Tue, 8 Mar 2022 11:10:56 +1100 Subject: [PATCH] Fix release asset uploads (#2372) --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f3561b7dd..e408e38af 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -156,7 +156,7 @@ jobs: - name: Master release if: ${{ github.event_name == 'release' && github.ref != 'refs/tags/latest_develop' }} - uses: meeDamian/github-release@2.0 + uses: WithoutPants/github-release@v2.0.4 with: token: "${{ secrets.GITHUB_TOKEN }}" allow_override: true @@ -172,7 +172,7 @@ jobs: gzip: false - name: Development Docker - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/develop' }} + if: ${{ github.repository == 'stashapp/stash' && github.event_name == 'push' && github.ref == 'refs/heads/develop' }} env: DOCKER_CLI_EXPERIMENTAL: enabled DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} @@ -186,7 +186,7 @@ jobs: bash ./docker/ci/x86_64/docker_push.sh development - name: Release Docker - if: ${{ github.event_name == 'release' && github.ref != 'refs/tags/latest_develop' }} + if: ${{ github.repository == 'stashapp/stash' && github.event_name == 'release' && github.ref != 'refs/tags/latest_develop' }} env: DOCKER_CLI_EXPERIMENTAL: enabled DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}