How to trigger custom build steps on Plasmic PR

Hi!

I have following setup: CodeGen Project is publishing to GitHub repo using “Publish” button.
I need to run extra actions on this PR.

I tried two options to solve problem

  1. Customize plasmic.yml workflow, add additional steps. But on next Publish Plasmic overrides this file, and all my changes lost
  2. Create separate action on: pull_request. But PRs created don’t trigger other actions

What else can I do to execute additional build steps on PR?
May be I can call webhook with PR link or something to trigger workflow ?

You don’t have to use the built-in GitHub push! See you here for how to customize this:

https://docs.plasmic.app/learn/github-action/#customizing-the-github-push-action

In the future we will be removing the GitHub push functionality since there is nothing special about it.

1 Like