Skip to content

Echo "hello world"

Echo "hello world" #41

name: PR Playground Preview
on:
pull_request:
types:
- opened
- synchronize
- reopened
- edited
jobs:
create-blueprint:
name: Create Blueprint
runs-on: ubuntu-latest
outputs:
blueprint: ${{ steps.blueprint.outputs.result }}
steps:
- name: Create Blueprint
id: blueprint
uses: actions/github-script@v7
with:
script: |
const blueprint = {
steps: [
{
step: "installPlugin",
pluginData: {
resource: "git:directory",
url: `https://github.com/${context.repo.owner}/${context.repo.repo}.git`,
ref: context.payload.pull_request.head.ref,
path: "/"
}
}
]
};
return JSON.stringify(blueprint);
result-encoding: string
playground-preview:
name: Update Playground Preview
needs: create-blueprint
permissions:
contents: read
pull-requests: write
issues: write
uses: adamziel/playground-preview/.github/workflows/playground-preview.yml@trunk

Check failure on line 46 in .github/workflows/pr-playground-preview.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pr-playground-preview.yml

Invalid workflow file

error parsing called workflow ".github/workflows/pr-playground-preview.yml" -> "adamziel/playground-preview/.github/workflows/playground-preview.yml@trunk" (source branch with sha:ad76128cdfc25d5d7e568f88f7f747d615d1cd68) : (Line: 2, Col: 14): Unrecognized named-value: 'github'. Located at position 1 within expression: github.repository
with:
mode: "append-to-description"
# plugin-path: .
blueprint: ${{ needs.create-blueprint.outputs.blueprint }}