Pullfrog Preview Template
This is a template repository used for creating preview testing repos for Pullfrog action development.
When a PR is opened on pullfrog/app that modifies the action/ directory:
- A new repo pullfrog/preview-<pr_number>-<branch> is created from this template
- A .branch file is pushed containing the PR branch name
- Secrets are copied to the new repo
- Webhooks from the preview repo are forwarded to the Vercel preview deployment
To test the Pullfrog action from a PR branch:
- Create an issue or PR in the preview repo
- Mention @pullfrog with a task
- The workflow will checkout and build the action from the PR branch
- .github/workflows/pullfrog.yml - The Pullfrog workflow that reads .branch and builds from that branch
- .branch - Created by CI, contains the PR branch name to checkout