diff --git a/.github/labeler.yml b/.github/labeler.yml index 43b79f8252..cdae151126 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -22,6 +22,10 @@ - '3rdparty/**/*' - '**/3rdpartyDeps.props' - '.gitmodules' +'requires-win-deps-build': + - changed-files: + - any-glob-to-any-file: + - '.github/workflows/scripts/windows/*' 'Documentation': - changed-files: - any-glob-to-any-file: diff --git a/.github/workflows/windows_deps_dispatch.yml b/.github/workflows/windows_deps_dispatch.yml new file mode 100644 index 0000000000..8c8446b565 --- /dev/null +++ b/.github/workflows/windows_deps_dispatch.yml @@ -0,0 +1,17 @@ +name: 🖥️ 📦 Dispatch Windows Deps Build + +on: + pull_request: + types: [closed] + +jobs: + trigger: + if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'requires-win-deps-build') + runs-on: ubuntu-latest + steps: + - name: Dispatch to windows-dependencies repo + uses: peter-evans/repository-dispatch@v3 + with: + token: ${{ secrets.DEPS_REPO_DISPATCH_ACCESS_TOKEN }} + repository: pcsx2/pcsx2-windows-dependencies + event-type: deps-update