pulumi/.github/workflows/pr-test-codegen-on-pr.yml

28 lines
584 B
YAML

name: Downstream Codegen Tests
on:
pull_request:
paths:
- 'pkg/codegen/**'
- '!pkg/codegen/docs/**'
- '.github/workflows/ci-test-codegen.yml'
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ci-codegen:
name: CI Codegen
if: github.event_name == 'pull_request'
uses: ./.github/workflows/ci-test-codegen.yml
permissions:
contents: read
with:
ref: ${{ github.ref }}
pull_request_number: ${{ github.event.pull_request.number }}
secrets: inherit