From 32538b71dfbf9374d21c2b076c5432e53ea488ea Mon Sep 17 00:00:00 2001 From: Frederic Wilhelm Date: Thu, 8 May 2025 09:33:06 +0200 Subject: [PATCH 1/2] enable e2e GHA workflow to be executed manually --- .github/workflows/e2e.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 4474bd24..e25fee8b 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -18,6 +18,8 @@ on: schedule: - cron: '0 6 * * *' # 6 AM UTC everyday for default branch + workflow_dispatch: + permissions: contents: read # for actions/checkout to fetch code From 085b14e941862dcbac309a0cfa44d87132363d16 Mon Sep 17 00:00:00 2001 From: Frederic Wilhelm Date: Thu, 8 May 2025 09:38:36 +0200 Subject: [PATCH 2/2] remove unused workflow --- .github/workflows/dispatch-e2e.yaml | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 .github/workflows/dispatch-e2e.yaml diff --git a/.github/workflows/dispatch-e2e.yaml b/.github/workflows/dispatch-e2e.yaml deleted file mode 100644 index 13c2ad7d..00000000 --- a/.github/workflows/dispatch-e2e.yaml +++ /dev/null @@ -1,25 +0,0 @@ -name: dispatch e2e test event - -on: - push: - branches: - - main -permissions: - contents: read - -jobs: - dispatch-event: - runs-on: ubuntu-latest - steps: - - name: Generate token - id: generate_token - uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a - with: - app_id: ${{ secrets.OCMBOT_APP_ID }} - private_key: ${{ secrets.OCMBOT_PRIV_KEY }} - - name: Dispatch e2e test trigger - uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 - with: - token: ${{ steps.generate_token.outputs.token }} - repository: open-component-model/MPAS - event-type: component.controlplane.mpas.updated \ No newline at end of file