Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
play

GitHub Action

Pulumi Preview PR Label Action

v0.0.2

Pulumi Preview PR Label Action

play

Pulumi Preview PR Label Action

Decorate your PR with context from Pulumi Preview output

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Pulumi Preview PR Label Action

uses: urcomputeringpal/[email protected]

Learn more about this action in urcomputeringpal/pulumi-preview-pr-label-action

Choose a version

Pulumi Preview PR Label Action

Decorate your PR with context from Pulumi Preview output.

See ./action.yml for the full documentation for this action's inputs and outputs.

Example

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 }}