integrate this GitHub Action to simplify your CI experience
Important
Please make sure you already have a valid promptpal.yml config file
name: Testing
on:
  push:
    branches: [master]
  pull_request:
    branches: [master]
jobs:
  container-job:
    steps:
      - uses: PromptPal/[email protected]
        env:
          PROMPTPAL_ENDPOINT: ${{ secrets.PROMPTPAL_ENDPOINT }}
          PROMPTPAL_API_TOKEN: ${{ secrets.PROMPTPAL_API_TOKEN }}
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          # generate types by PromptPal CLI
          command: pp g| variable | type | note | example | 
|---|---|---|---|
| token | string | GitHub personal token | secrets.GITHUB_TOKEN | 
| command | string | PromptPal commands. we use ppto presentpromptpal.  full documetion is here: https://github.com/PromptPal/cli/ | - pp init - pp g |