Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Update actions for forks vs main repo (#1407)
Dhruv Bhanushali534257ecb7aa
diff --git a/.github/workflows/bundle_size.yml b/.github/workflows/bundle_size.ymlindex 027d9d86a..c2fd1cf03 100644--- a/.github/workflows/bundle_size.yml+++ b/.github/workflows/bundle_size.yml@@ -33,6 +33,7 @@ jobs:build:name: Checkruns-on: ubuntu-latest+ if: github.repository == 'WordPress/openverse-frontend'steps:- uses: actions/checkout@v2diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 16daa70c6..d79384a4b 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -2,7 +2,8 @@ name: CIon:push:- branches: -main+ branches:+ - mainpull_request:jobs:@@ -120,6 +121,7 @@ jobs:gh-pages:name: PR Storybook and Tailwind Preview+ if: github.repository == 'WordPress/openverse-frontend'runs-on: ubuntu-lateststeps:diff --git a/.github/workflows/gh-pages.yaml b/.github/workflows/gh-pages.yamlindex 3d7ad4557..d6f18f037 100644--- a/.github/workflows/gh-pages.yaml+++ b/.github/workflows/gh-pages.yaml@@ -8,8 +8,6 @@ on:jobs:deploy:runs-on: ubuntu-latest- if: ${{ github.repository == 'WordPress/openverse-frontend' }}-steps:- name: Checkoutuses: actions/checkout@v2diff --git a/.github/workflows/ghcr.yml b/.github/workflows/ghcr.ymlindex 0d3432ff9..b4e58f4ed 100644--- a/.github/workflows/ghcr.yml+++ b/.github/workflows/ghcr.yml@@ -12,6 +12,7 @@ jobs:push-to-ghcr:name: Build and push image for commitruns-on: ubuntu-latest+ if: github.repository == 'WordPress/openverse-frontend'steps:- uses: actions/checkout@v2