Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actions fixes and using "controller" for PRs #3239

Merged
merged 2 commits into from
Nov 19, 2023
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions .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 Expand Up @@ -32,7 +32,7 @@ jobs:
# github.head_ref will stop previous runs in the same PR (if in a PR)
# github.run_id is a fallback when outside a PR (e.g. every merge in master will run, and previous won't stop)
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-${{ matrix.CC }}-${{ matrix.RENEWAL }}-${{ matrix.CLIENT_TYPE }}-${{ matrix.HTTPLIB }}-${{ matrix.SANITIZER }}-${{ matrix.PACKET_VERSION}}-${{ matrix.LTO }}
group: build-${{ github.head_ref || github.run_id }}_${{ matrix.CC }}_${{ matrix.RENEWAL }}_${{ matrix.CLIENT_TYPE }}_${{ matrix.HTTPLIB }}_${{ matrix.SANITIZER }}_${{ matrix.PACKET_VERSION}}_${{ matrix.LTO }}
cancel-in-progress: true

container:
Expand Down
4 changes: 2 additions & 2 deletions .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 Expand Up @@ -28,7 +28,7 @@ jobs:
# github.head_ref will stop previous runs in the same PR (if in a PR)
# github.run_id is a fallback when outside a PR (e.g. every merge in master will run, and previous won't stop)
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-${{ matrix.CC }}-${{ matrix.RENEWAL }}-${{ matrix.CLIENT_TYPE }}-${{ matrix.HTTPLIB }}-${{ matrix.SANITIZER }}-${{ matrix.PACKET_VERSION}}
group: clang-15-${{ github.head_ref || github.run_id }}_${{ matrix.CC }}_${{ matrix.RENEWAL }}_${{ matrix.CLIENT_TYPE }}_${{ matrix.HTTPLIB }}_${{ matrix.SANITIZER }}_${{ matrix.PACKET_VERSION}}
cancel-in-progress: true

container:
Expand Down
4 changes: 2 additions & 2 deletions .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 All @@ -15,7 +15,7 @@ jobs:
# github.head_ref will stop previous runs in the same PR (if in a PR)
# github.run_id is a fallback when outside a PR (e.g. every merge in master will run, and previous won't stop)
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-${{ matrix.language }}
group: codeql-${{ github.head_ref || github.run_id }}_${{ matrix.language }}
cancel-in-progress: true

permissions:
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
4 changes: 2 additions & 2 deletions .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 Expand Up @@ -28,7 +28,7 @@ jobs:
# github.head_ref will stop previous runs in the same PR (if in a PR)
# github.run_id is a fallback when outside a PR (e.g. every merge in master will run, and previous won't stop)
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-${{ matrix.CC }}-${{ matrix.RENEWAL }}-${{ matrix.CLIENT_TYPE }}-${{ matrix.HTTPLIB }}-${{ matrix.SANITIZER }}-${{ matrix.PACKET_VERSION}}
group: gcc_test-${{ github.head_ref || github.run_id }}_${{ matrix.CC }}_${{ matrix.RENEWAL }}_${{ matrix.CLIENT_TYPE }}_${{ matrix.HTTPLIB }}_${{ matrix.SANITIZER }}_${{ matrix.PACKET_VERSION}}
cancel-in-progress: true

container:
Expand Down
4 changes: 2 additions & 2 deletions .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 Expand Up @@ -29,7 +29,7 @@ jobs:
# github.head_ref will stop previous runs in the same PR (if in a PR)
# github.run_id is a fallback when outside a PR (e.g. every merge in master will run, and previous won't stop)
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-${{ matrix.CC }}-${{ matrix.RENEWAL }}-${{ matrix.CLIENT_TYPE }}-${{ matrix.HTTPLIB }}-${{ matrix.SANITIZER }}-${{ matrix.PACKET_VERSION}}-${{ matrix.LTO }}
group: gccold1-${{ github.head_ref || github.run_id }}_${{ matrix.CC }}_${{ matrix.RENEWAL }}_${{ matrix.CLIENT_TYPE }}_${{ matrix.HTTPLIB }}_${{ matrix.SANITIZER }}_${{ matrix.PACKET_VERSION}}_${{ matrix.LTO }}
cancel-in-progress: true

container:
Expand Down
4 changes: 2 additions & 2 deletions .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 Expand Up @@ -29,7 +29,7 @@ jobs:
# github.head_ref will stop previous runs in the same PR (if in a PR)
# github.run_id is a fallback when outside a PR (e.g. every merge in master will run, and previous won't stop)
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-${{ matrix.CC }}-${{ matrix.RENEWAL }}-${{ matrix.CLIENT_TYPE }}-${{ matrix.HTTPLIB }}-${{ matrix.SANITIZER }}-${{ matrix.PACKET_VERSION}}-${{ matrix.LTO }}
group: gccold2-${{ github.head_ref || github.run_id }}_${{ matrix.CC }}_${{ matrix.RENEWAL }}_${{ matrix.CLIENT_TYPE }}_${{ matrix.HTTPLIB }}_${{ matrix.SANITIZER }}_${{ matrix.PACKET_VERSION}}_${{ matrix.LTO }}
cancel-in-progress: true

container:
Expand Down
4 changes: 2 additions & 2 deletions .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 Expand Up @@ -30,7 +30,7 @@ jobs:
# github.head_ref will stop previous runs in the same PR (if in a PR)
# github.run_id is a fallback when outside a PR (e.g. every merge in master will run, and previous won't stop)
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-${{ matrix.CC }}-${{ matrix.RENEWAL }}-${{ matrix.CLIENT_TYPE }}-${{ matrix.HTTPLIB }}-${{ matrix.SANITIZER }}-${{ matrix.PACKET_VERSION}}-${{ matrix.LTO }}
group: gccold3-${{ github.head_ref || github.run_id }}_${{ matrix.CC }}_${{ matrix.RENEWAL }}_${{ matrix.CLIENT_TYPE }}_${{ matrix.HTTPLIB }}_${{ matrix.SANITIZER }}_${{ matrix.PACKET_VERSION}}_${{ matrix.LTO }}
cancel-in-progress: true

container:
Expand Down
4 changes: 2 additions & 2 deletions .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 Expand Up @@ -28,7 +28,7 @@ jobs:
# github.head_ref will stop previous runs in the same PR (if in a PR)
# github.run_id is a fallback when outside a PR (e.g. every merge in master will run, and previous won't stop)
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-${{ matrix.CC }}-${{ matrix.RENEWAL }}-${{ matrix.CLIENT_TYPE }}-${{ matrix.HTTPLIB }}-${{ matrix.SANITIZER }}-${{ matrix.PACKET_VERSION}}
group: gccsnapshot_test-${{ github.head_ref || github.run_id }}_${{ matrix.CC }}_${{ matrix.RENEWAL }}_${{ matrix.CLIENT_TYPE }}_${{ matrix.HTTPLIB }}_${{ matrix.SANITIZER }}_${{ matrix.PACKET_VERSION}}
cancel-in-progress: true

container:
Expand Down
4 changes: 2 additions & 2 deletions .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 All @@ -26,7 +26,7 @@ jobs:
# github.head_ref will stop previous runs in the same PR (if in a PR)
# github.run_id is a fallback when outside a PR (e.g. every merge in master will run, and previous won't stop)
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-${{ matrix.CC }}-${{ matrix.RENEWAL }}-${{ matrix.CLIENT_TYPE }}-${{ matrix.HTTPLIB }}-${{ matrix.SANITIZER }}-${{ matrix.PACKET_VERSION}}-${{ matrix.MYSQL }}
group: mariadb-${{ github.head_ref || github.run_id }}_${{ matrix.CC }}_${{ matrix.RENEWAL }}_${{ matrix.CLIENT_TYPE }}_${{ matrix.HTTPLIB }}_${{ matrix.SANITIZER }}_${{ matrix.PACKET_VERSION}}_${{ matrix.MYSQL }}
cancel-in-progress: true

container:
Expand Down
4 changes: 2 additions & 2 deletions .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 All @@ -26,7 +26,7 @@ jobs:
# github.head_ref will stop previous runs in the same PR (if in a PR)
# github.run_id is a fallback when outside a PR (e.g. every merge in master will run, and previous won't stop)
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-${{ matrix.CC }}-${{ matrix.RENEWAL }}-${{ matrix.CLIENT_TYPE }}-${{ matrix.HTTPLIB }}-${{ matrix.SANITIZER }}-${{ matrix.PACKET_VERSION}}-${{ matrix.MYSQL }}
group: mysql-${{ github.head_ref || github.run_id }}_${{ matrix.CC }}_${{ matrix.RENEWAL }}_${{ matrix.CLIENT_TYPE }}_${{ matrix.HTTPLIB }}_${{ matrix.SANITIZER }}_${{ matrix.PACKET_VERSION}}_${{ matrix.MYSQL }}
cancel-in-progress: true

container:
Expand Down
4 changes: 2 additions & 2 deletions .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 All @@ -16,7 +16,7 @@ jobs:
# github.head_ref will stop previous runs in the same PR (if in a PR)
# github.run_id is a fallback when outside a PR (e.g. every merge in master will run, and previous won't stop)
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
group: tools-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

container:
Expand Down
Loading