Check for owner and repo
This commit is contained in:
parent
d5624db5ea
commit
6a1a0b7681
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue