Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

add action workflow to trigger e2e tests #2

Merged
merged 2 commits into from
Apr 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/dispatch-e2e.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: dispatch e2e test event

on:
workflow_dispatch:
push:
branches:
- main

jobs:
dispatch-event:
runs-on: ubuntu-latest
steps:
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@v1
with:
app_id: ${{ secrets.OCMBOT_APP_ID }}
private_key: ${{ secrets.OCMBOT_PRIV_KEY }}
- name: Dispatch e2e test trigger
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ steps.generate_token.outputs.token }}
repository: open-component-model/MPAS
event-type: component.controlplane.mpas::updated