diff --git a/.github/workflows/operator-pr-package.yml b/.github/workflows/operator-pr-package.yml new file mode 100644 index 0000000..f0fca65 --- /dev/null +++ b/.github/workflows/operator-pr-package.yml @@ -0,0 +1,24 @@ +# Advisory caller: publishes feature PR packages and syncs reviewer/lifecycle state with Operator. +# Advisory only: nothing here gates a merge. +name: Operator PR package + +on: + pull_request: + types: [opened, ready_for_review, synchronize, + review_requested, review_request_removed, closed] + pull_request_review: + types: [submitted, dismissed] + +permissions: + contents: read + pull-requests: write + +jobs: + publish: + if: >- + github.event.pull_request.head.repo.full_name == github.repository + uses: automators-com/engineering-workflows/.github/workflows/operator-pr-package.yml@main + with: + pr-number: ${{ format('{0}', github.event.pull_request.number) }} + secrets: + OPERATOR_ENGINEERING_TOKEN: ${{ secrets.OPERATOR_ENGINEERING_TOKEN }}