Skip to content

Commit

Permalink
Add quickpick dispatcher and module sync settings to GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
N6REJ committed Jul 23, 2024
1 parent aa77883 commit 89ef8aa
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .dispatcher/quickpick-dispatcher.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Quickpick Dispatcher

on:
pull_request:
types:
- closed
branches:
- 'main'

jobs:
if_merged:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Invoke workflow in another repo with inputs
uses: benc-uk/workflow-dispatch@v1
with:
workflow: combine_releases.yml
repo: Bearsampp/Bearsampp
# Required when using the `repo` option. Either a PAT or a token generated from the GitHub app or CLI
token: "${{ secrets.GH_PAT }}"
30 changes: 30 additions & 0 deletions .github/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,33 @@ group:
Bearsampp/modules-untouched
Bearsampp/prerequisites
Bearsampp/.teams
# Things for modules ONLY!
- files:
- source: .dispatcher
dest: .github/workflows
deleteOrphaned: true # Removes deleted files
repos: |
Bearsampp/module-adminer
Bearsampp/module-apache
Bearsampp/module-composer
Bearsampp/module-consolez
Bearsampp/module-ghostscript
Bearsampp/module-git
Bearsampp/module-mailpit
Bearsampp/module-mariadb
Bearsampp/module-memcached
Bearsampp/module-mysql
Bearsampp/module-ngrok
Bearsampp/module-nodejs
Bearsampp/module-perl
Bearsampp/module-php
Bearsampp/module-phpmyadmin
Bearsampp/module-phppgadmin
Bearsampp/module-postgresql
Bearsampp/module-python
Bearsampp/module-ruby
Bearsampp/module-webgrind
Bearsampp/module-xdc
Bearsampp/module-xlight
Bearsampp/module-yarn

0 comments on commit 89ef8aa

Please sign in to comment.