You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Pulumi Preview PR Label Action
v0.0.2
Decorate your PR with context from Pulumi Preview output.
See ./action.yml for the full documentation for this action's inputs and outputs.
The following example demonstrates how to use this with pulumi/actions:
name: pulumi-preview
on: [pull_request]
jobs:
preview:
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
pull-requests: write
steps:
- uses: actions/checkout@v2
- uses: pulumi/actions@v4
id: pulumi-preview
with:
work-dir: pulumi
command: preview
- uses: urcomputeringpal/pulumi-preview-pr-label-action@v0
with:
label-prefix: Production
pulumi-output: ${{ steps.pulumi-preview.outputs.output }}