Skip to content

Commit

Permalink
make pull_requests also use "controller" workflow
Browse files Browse the repository at this point in the history
for reasons unknown, the controller workflow was only used by pushes,
while all workflows were triggered separately for pull requests.

now both pushes and pull requests follow the same CI flow, with some
specifics for pushes being handled with ifs
  • Loading branch information
guilherme-gm committed Oct 22, 2023
1 parent c1ef569 commit e0de07d
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: build

on: [workflow_call, pull_request]
on: workflow_call

env:
MYSQL_DATABASE: 'ragnarok'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/clang15_test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: clang15_test

on: [workflow_call, pull_request]
on: workflow_call

env:
MYSQL_DATABASE: 'ragnarok'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: "CodeQL"

on: [workflow_call, pull_request]
on: workflow_call

jobs:
analyze:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/controller.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: controller

on:
push:
on: [push, pull_request]

jobs:
hwsapibot:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gcc_test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: gcc_test

on: [workflow_call, pull_request]
on: workflow_call

env:
MYSQL_DATABASE: 'ragnarok'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gccold1.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: gcc_old1

on: [workflow_call, pull_request]
on: workflow_call

env:
MYSQL_DATABASE: 'ragnarok'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gccold2.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: gcc_old2

on: [workflow_call, pull_request]
on: workflow_call

env:
MYSQL_DATABASE: 'ragnarok'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gccold3.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: gcc_old3

on: [workflow_call, pull_request]
on: workflow_call

env:
MYSQL_DATABASE: 'ragnarok'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gccsnapshot_test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: gccsnapshot_test

on: [workflow_call, pull_request]
on: workflow_call

env:
MYSQL_DATABASE: 'ragnarok'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mariadb.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: mariadb

on: [workflow_call, pull_request]
on: workflow_call

env:
MYSQL_DATABASE: 'ragnarok'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mysql.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: mysql

on: [workflow_call, pull_request]
on: workflow_call

env:
MYSQL_DATABASE: 'ragnarok'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tools.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: tools

on: [workflow_call, pull_request]
on: workflow_call

env:
MYSQL_DATABASE: 'ragnarok'
Expand Down

0 comments on commit e0de07d

Please sign in to comment.