From 295a5e0d97ff1a9f5d1569e08f844dce81687ce2 Mon Sep 17 00:00:00 2001 From: appel_c Date: Wed, 25 Jun 2025 11:24:46 +0200 Subject: [PATCH] ci(plugin-repo): Run workflow for plugin repositories --- .github/workflows/ci.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b16fb8c..5c5fbd9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,8 @@ on: required: false type: string + + permissions: pull-requests: write @@ -49,4 +51,15 @@ jobs: uses: ./.github/workflows/child_repos.yml with: BEC_CORE_BRANCH: ${{ inputs.BEC_CORE_BRANCH || 'main' }} - OPHYD_DEVICES_BRANCH: ${{ inputs.OPHYD_DEVICES_BRANCH || github.head_ref || github.sha}} \ No newline at end of file + OPHYD_DEVICES_BRANCH: ${{ inputs.OPHYD_DEVICES_BRANCH || github.head_ref || github.sha}} + + plugin_repos: + needs: [check_pr_status, formatter] + if: needs.check_pr_status.outputs.branch-pr == '' + uses: bec-project/bec/.github/workflows/plugin_repos.yml@main + with: + BEC_CORE_BRANCH: ${{ inputs.BEC_CORE_BRANCH || 'main' }} + OPHYD_DEVICES_BRANCH: ${{ inputs.OPHYD_DEVICES_BRANCH || github.head_ref || github.sha}} + + secrets: + GH_READ_TOKEN: ${{ secrets.GH_READ_TOKEN }} \ No newline at end of file