Check for owner and repo

This commit is contained in:
Claudio Sanches 2022-02-17 18:16:32 -03:00
parent d5624db5ea
commit 6a1a0b7681
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ on:
branches: ["trunk", "release/**"]
jobs:
build:
if: github.repository_owner == 'woocommerce'
if: github.repository == 'woocommerce/woocommerce'
name: Build WooCommerce zip
runs-on: ubuntu-latest
steps:
@ -24,7 +24,7 @@ jobs:
path: ${{ steps.build.outputs.zip_path }}
retention-days: 7
mirror:
if: github.repository_owner == 'woocommerce'
if: github.repository == 'woocommerce/woocommerce'
name: Push to Mirror
runs-on: ubuntu-latest
needs: [build]