Skip to content

Art Board -- Automations to speed up the boring stuff#15251

Merged
joethreepwood merged 7 commits intomasterfrom
art-automations
Feb 25, 2026
Merged

Art Board -- Automations to speed up the boring stuff#15251
joethreepwood merged 7 commits intomasterfrom
art-automations

Conversation

@joethreepwood
Copy link
Contributor

Changes

Adds a suite of GitHub Actions workflows to automate project board housekeeping for art requests, reducing manual overhead for the team.

close-on-done.yml
Listens for projects_v2_item events. When an issue is moved to the Done column on the art request board, it is automatically closed.

sync-assignees.yml
Listens for projects_v2_item events. When an issue is moved to an Assigned: column, the two unassigned team members are automatically removed, leaving only the relevant person. No action is taken for Assigned: Cleo. Exception: if the issue was originally created by Lottie, Daniel, or Heidi (i.e. an internal request), all three remain assigned.

feedback-reminder.yml
Runs daily. Posts a reminder comment on any open issue that has been sitting in Feedback/Review for 10 or more days without movement. Will only post once per issue.

no-status-reminder.yml
Runs daily. Posts a reminder comment on any open issue that has been sitting in No Status for 7 or more days without movement. Issues in the All projects (snoozed) column are excluded. Will only post once per issue.

Additional automations (configured outside this PR)

Two further automations have been set up directly in GitHub's project settings:

  • Issues closed anywhere are automatically moved to Done on the art request board
  • New issues created with the artwork label are automatically added to the art request project board

Setup required

These workflows use a PROJECT_PAT repository secret (fine-grained PAT with Issues: read/write and Projects: read/write permissions) rather than the default GITHUB_TOKEN, which lacks Projects V2 access. See README.md for full setup instructions. I've requested approval here from @Piccirello.

Checklist

  • I've read the docs and/or content style guides.
  • Words are spelled using American English
  • Use relative URLs for internal links
  • I've checked the pages added or changed in the Vercel preview build
  • If I moved a page, I added a redirect in vercel.json

@vercel
Copy link

vercel bot commented Feb 24, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
posthog Ready Ready Preview Feb 25, 2026 0:03am

Request Review

@github-actions
Copy link
Contributor

github-actions bot commented Feb 24, 2026

Deploy preview

https://f32d4179.posthog-preview.pages.dev

Workflows were in src/pages/workflows/ which Gatsby processes as pages
(breaking the build) and GitHub Actions never picks up.

Consolidated 4 files (550 lines) into 3 (233 lines):
- art-board-reminder.yml: reusable workflow_call for stale-issue reminders
- art-board-reminders.yml: cron caller for feedback (10d) and no-status (7d)
- art-board-status-change.yml: combines close-on-done + sync-assignees
Switch from PROJECT_PAT to the new PostHog Art Board Bot app
(GH_APP_POSTHOG_ART_BOARD_BOT_APP_ID / PRIVATE_KEY) using
actions/create-github-app-token. Add permissions block to all
three workflows to satisfy security checks.
@joethreepwood
Copy link
Contributor Author

Added some handbook docs.

@Piccirello I don't think i have the admin access to confirm if the secrets needed for your app are set up or not. Are we good to just merge this in?

@github-actions
Copy link
Contributor

github-actions bot commented Feb 25, 2026

Vale prose linter → found 1 errors, 1 warnings, 0 suggestions in your markdown

Full report → Copy the linter results into an LLM to batch-fix issues.

Linter being weird? Update the rules!

contents/handbook/brand/art-requests.md — 1 errors, 1 warnings, 0 suggestions
Line Severity Message Rule
25:15 warning 'automations' is a possible misspelling. PostHogBase.Spelling
29:17 error Hi, Andy here... use an en dash ( – ) with spaces. On Mac, holding down the Option and hyphen key will give you an en dash. PostHogBase.EnDash

@Piccirello
Copy link
Member

@Piccirello I don't think i have the admin access to confirm if the secrets needed for your app are set up or not. Are we good to just merge this in?

All set up, you should be good to merge 🚢

@joethreepwood joethreepwood merged commit 5863b58 into master Feb 25, 2026
17 checks passed
@joethreepwood joethreepwood deleted the art-automations branch February 25, 2026 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants