From a434fc7cb1540ae3d028c4b53caf8345928ad89f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Fri, 5 Jul 2024 01:09:15 +0200 Subject: [PATCH] [workflows] only run in 'mikf/gallery-dl' repo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The actual code was included in the previous 97a50a23d2be20cf34641797a0cdee6cd180239a by accident … This commit only wraps the slightly more complex docker.yml condition in GitHub's special ${{ … }} braces. --- .github/workflows/docker.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index acaad26b..53c6d4a5 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -22,10 +22,11 @@ jobs: runs-on: ubuntu-latest # on release commits, run only for tag event - if: | - github.repository == 'mikf/gallery-dl' && - ( ! startsWith( github.event.head_commit.message , 'release version ' ) || - startsWith( github.ref , 'refs/tags/v' ) ) + if: ${{ + github.repository == 'mikf/gallery-dl' && + ( ! startsWith( github.event.head_commit.message , 'release version ' ) || + startsWith( github.ref , 'refs/tags/v' ) ) + }} steps: - uses: actions/checkout@v4