Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Only generate POT file if `en.json5` has changed (#893)
Dhruv Bhanushali2646c5ead465
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.ymlindex faa383e4c..2bc19330e 100644--- a/.github/workflows/ci_cd.yml+++ b/.github/workflows/ci_cd.yml@@ -39,9 +39,10 @@ jobs:steps:- name: Checkout repositoryuses: actions/checkout@v3+- name: Get changes- uses: ./.github/actions/get-changesid: paths-filter+ uses: ./.github/actions/get-changesget-image-tag:name: Get image tag@@ -182,12 +183,6 @@ jobs:- name: Checkout repositoryuses: actions/checkout@v3- - id: paths-filter- name: Conditionally skip job- uses: dorny/paths-filter@v2- with:- filters: .github/filters.yml-- name: Setup CI envuses: ./.github/actions/setup-envwith:diff --git a/.github/workflows/generate_pot.yml b/.github/workflows/generate_pot.ymlindex e31573275..8a92a5848 100644--- a/.github/workflows/generate_pot.yml+++ b/.github/workflows/generate_pot.yml@@ -2,6 +2,9 @@ name: Generate POT fileon:push:+ # The workflow will only run when both filters are satisfied.+ paths:+ - frontend/src/locales/scripts/en.json5branches:- main