-
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (30 loc) · 1.05 KB
/
quickpick-dispatcher.yml
File metadata and controls
32 lines (30 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Quickpick Dispatcher
on:
pull_request:
types:
- closed
branches:
- 'main'
release:
types:
- created
- edited
- prereleased
workflow_dispatch:
jobs:
dispatch_workflow:
if: |
(github.event_name == 'workflow_dispatch') ||
(github.event_name == 'pull_request' && github.event.pull_request.merged == true) ||
(github.event_name == 'release' && (github.event.action == 'created' || github.event.action == 'edited' || github.event.action == 'prereleased'))
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Invoke workflow in another repo with inputs
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.GH_PAT }}
repository: Bearsampp/Bearsampp
event-type: module_release_created
client-payload: '{"workflow": "combine_releases.yml"}'