Skip to content
This repository was archived by the owner on May 9, 2025. It is now read-only.

Commit 1a79dfe

Browse files
authored
add workflow to trigger e2e tests (#25)
1 parent b1c3f0d commit 1a79dfe

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: dispatch e2e test event
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
dispatch-event:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Generate token
13+
id: generate_token
14+
uses: tibdex/github-app-token@v1
15+
with:
16+
app_id: ${{ secrets.OCMBOT_APP_ID }}
17+
private_key: ${{ secrets.OCMBOT_PRIV_KEY }}
18+
- name: Dispatch e2e test trigger
19+
uses: peter-evans/repository-dispatch@v2
20+
with:
21+
token: ${{ steps.generate_token.outputs.token }}
22+
repository: open-component-model/MPAS
23+
event-type: component.controlplane.mpas.updated

0 commit comments

Comments
 (0)