Skip to content

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

Automatically publish "Week in Openverse" posts (#104)

Zack Kridaf89fbc2c6a8b
diff --git a/.github/GITHUB.md b/.github/GITHUB.md
index c11f78451..ae29a3d0c 100644
--- a/.github/GITHUB.md
+++ b/.github/GITHUB.md
@@ -58,9 +58,8 @@ truth, it creates PRs to resolve any differences.
### Weekly updates
-This workflow creates a draft post on the Make Openverse site once a week
-outlining the closed issues and merged PRs of the preceding week. The post can
-be reviewed manually and then published.
+This workflow creates and publishes a post on the Make Openverse site once a week
+outlining the closed issues and merged PRs of the preceding week.
**Cron:** [at 00:01 on Monday](https://crontab.guru/#1_0_*_*_1)
**Dispatch:** enabled
diff --git a/js/src/last_week_tonight.js b/js/src/last_week_tonight.js
index 72e17cad9..4bb837bb2 100644
--- a/js/src/last_week_tonight.js
+++ b/js/src/last_week_tonight.js
@@ -111,7 +111,7 @@ const postActivities = (activities) => {
slug: `last-week-openverse-${startDate}-${endDate}`,
excerpt: `The developments in Openverse between ${startDate} and ${endDate}`,
content: report,
- status: 'draft',
+ status: 'publish',
tags: [
3, // openverse
5, // week-in-openverse