Revert "Dispatch github ci jobs after running update-vrt workflow (#5586)" (#5590)

This reverts commit 3a8eb96d76.
This commit is contained in:
Matiss Janis Aboltins
2025-08-20 21:28:27 +01:00
committed by GitHub
parent 3a8eb96d76
commit 30102b1474
5 changed files with 3 additions and 47 deletions

View File

@@ -12,11 +12,9 @@ on:
branches:
- master
pull_request:
repository_dispatch:
types: [vrt_updated]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.client_payload.pr_number || github.ref }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
jobs:
@@ -24,8 +22,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.client_payload.branch || github.ref }}
- name: Set up environment
uses: ./.github/actions/setup
- name: Build API
@@ -42,8 +38,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.client_payload.branch || github.ref }}
- name: Set up environment
uses: ./.github/actions/setup
- name: Build CRDT
@@ -60,8 +54,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.client_payload.branch || github.ref }}
- name: Set up environment
uses: ./.github/actions/setup
- name: Build Web
@@ -81,8 +73,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.client_payload.branch || github.ref }}
- name: Set up environment
uses: ./.github/actions/setup
- name: Build Server

View File

@@ -5,11 +5,9 @@ on:
branches:
- master
pull_request:
repository_dispatch:
types: [vrt_updated]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.client_payload.pr_number || github.ref }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
jobs:
@@ -17,8 +15,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.client_payload.branch || github.ref }}
- name: Set up environment
uses: ./.github/actions/setup
- name: Lint
@@ -27,8 +23,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.client_payload.branch || github.ref }}
- name: Set up environment
uses: ./.github/actions/setup
- name: Typecheck
@@ -37,8 +31,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.client_payload.branch || github.ref }}
- name: Set up environment
uses: ./.github/actions/setup
- name: Build Web
@@ -49,8 +41,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.client_payload.branch || github.ref }}
- name: Set up environment
uses: ./.github/actions/setup
- name: Test
@@ -61,8 +51,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.client_payload.branch || github.ref }}
- uses: actions/setup-node@v4
with:
node-version: 20

View File

@@ -4,13 +4,11 @@ on:
push:
branches: [master]
pull_request:
repository_dispatch:
types: [vrt_updated]
schedule:
- cron: '23 11 * * 6'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.client_payload.pr_number || github.ref }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
jobs:
@@ -25,8 +23,6 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.event.client_payload.branch || github.ref }}
- name: Initialize CodeQL
uses: github/codeql-action/init@v3

View File

@@ -96,17 +96,6 @@ jobs:
fi
git commit -m "Update VRT"
git push origin HEAD:${BRANCH_NAME}
- name: Trigger CI workflows
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
event-type: vrt_updated
client-payload: |
{
"pr_number": "${{ github.event.issue.number }}",
"branch": "${{ steps.comment-branch.outputs.head_ref }}",
"sha": "${{ steps.comment-branch.outputs.head_sha }}"
}
- name: Add finished reaction
uses: dkershner6/reaction-action@v2
with:

View File

@@ -1,7 +0,0 @@
---
category: Enhancements
authors: [MatissJanis]
---
Add repository dispatch trigger to CI workflows for improved downstream job execution.