diff --git a/.github/workflows/call-flags-project-board.yml b/.github/workflows/call-flags-project-board.yml new file mode 100644 index 00000000..627d714e --- /dev/null +++ b/.github/workflows/call-flags-project-board.yml @@ -0,0 +1,17 @@ +# This workflow is used to call the flags-project-board workflow when a pull request is opened, ready for review, review requested, synchronized, converted to draft, or reopened. +# It is used to update the feature flags project board with the pull request information. + +name: Call Feature Flags Project Workflow + +on: + pull_request: + types: [opened, ready_for_review, review_requested, synchronize, converted_to_draft, reopened] + +jobs: + call-flags-project: + uses: PostHog/.github/.github/workflows/flags-project-board.yml@main + with: + pr_number: ${{ github.event.pull_request.number }} + pr_node_id: ${{ github.event.pull_request.node_id }} + is_draft: ${{ github.event.pull_request.draft }} + secrets: inherit \ No newline at end of file