Skip to content

Commit d1bb5c2

Browse files
committed
🔄 synced local '.github/workflows' with remote '.dispatcher'
1 parent d45df94 commit d1bb5c2

File tree

3 files changed

+16
-102
lines changed

3 files changed

+16
-102
lines changed

‎.github/workflows/auto-merge.yml

-56
This file was deleted.

‎.github/workflows/create-labels.yml

-26
This file was deleted.
+16-20
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,21 @@
11
name: Quickpick Dispatcher
22

33
on:
4-
pull_request:
5-
types:
6-
- closed
7-
branches:
8-
- 'main'
9-
workflow_dispatch:
4+
push:
5+
branches:
6+
- main
7+
release:
8+
types: [published, edited, prereleased]
9+
workflow_dispatch:
1010

1111
jobs:
12-
if_merged:
13-
if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true
14-
runs-on: ubuntu-latest
15-
steps:
16-
- name: Checkout
17-
uses: actions/checkout@v4
18-
19-
- name: Invoke workflow in another repo with inputs
20-
uses: benc-uk/[email protected]
21-
with:
22-
workflow: combine_releases.yml
23-
repo: Bearsampp/Bearsampp
24-
# Required when using the `repo` option. Either a PAT or a token generated from the GitHub app or CLI
25-
token: "${{ secrets.GH_PAT }}"
12+
dispatch:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Repository Dispatch
16+
uses: peter-evans/repository-dispatch@v2
17+
with:
18+
token: ${{ secrets.GH_ACTIONS }}
19+
repository: Bearsampp/bearsampp
20+
event-type: module_release_created
21+
client-payload: '{"module": "${{ github.repository }}"}'

0 commit comments

Comments
 (0)