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