Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Update sync to account changes to PR template path (#418)

Dhruv Bhanushali1f98053504f3
diff --git a/.github/sync.yml b/.github/sync.yml
index af8b3930d..a5d7b35c1 100644
--- a/.github/sync.yml
+++ b/.github/sync.yml
@@ -76,12 +76,12 @@ group:
WordPress/openverse-frontend
WordPress/openverse-api
files:
- - source: templates/PULL_REQUEST_TEMPLATE.md.jinja
- dest: .github/PULL_REQUEST_TEMPLATE.md
+ - source: templates/pull_request_template.md.jinja
+ dest: .github/PULL_REQUEST_TEMPLATE/pull_request_template.md
template: true
- repos: |
WordPress/openverse-catalog
files:
- - source: templates/PULL_REQUEST_TEMPLATE.catalog.md.jinja
- dest: .github/PULL_REQUEST_TEMPLATE.md
+ - source: templates/pull_request_template.catalog.md.jinja
+ dest: .github/PULL_REQUEST_TEMPLATE/pull_request_template.md
template: true
diff --git a/justfile b/justfile
index de6e9bbe5..ae073b1c3 100644
--- a/justfile
+++ b/justfile
@@ -52,7 +52,8 @@ render-prettier:
# Render GitHub issue & PR templates
render-github:
- just render templates/PULL_REQUEST_TEMPLATE.md.jinja .github/PULL_REQUEST_TEMPLATE.md
+ just render templates/pull_request_template.md.jinja .github/PULL_REQUEST_TEMPLATE/pull_request_template.md
+
# Render all templates (shortcut for easy iteration)
render-templates:
just render-precommit
diff --git a/templates/PULL_REQUEST_TEMPLATE.catalog.md.jinja b/templates/pull_request_template.catalog.md.jinja
similarity index 100%
rename from templates/PULL_REQUEST_TEMPLATE.catalog.md.jinja
rename to templates/pull_request_template.catalog.md.jinja
diff --git a/templates/PULL_REQUEST_TEMPLATE.md.jinja b/templates/pull_request_template.md.jinja
similarity index 100%
rename from templates/PULL_REQUEST_TEMPLATE.md.jinja
rename to templates/pull_request_template.md.jinja