Skip to content

Commit

Permalink
Merge pull request #4685 from sysown/v3.0-update_actions_triggers_v2
Browse files Browse the repository at this point in the history
V3.0 update actions triggers v2
  • Loading branch information
renecannao authored Oct 1, 2024
2 parents 42bb0cf + 784be94 commit f7e27f6
Show file tree
Hide file tree
Showing 18 changed files with 102 additions and 45 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/CI-3p-django-framework.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: CI-3p-django-framework
run-name: '${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }} ${{ github.workflow }} ${{ github.event.workflow_run && github.event.workflow_run.head_sha || github.sha }}'

on:
workflow_dispatch:
Expand All @@ -7,11 +8,15 @@ on:
types: [ completed ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
group: ${{ github.workflow }}-${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }}
cancel-in-progress: true

jobs:
run:
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
uses: sysown/proxysql/.github/workflows/ci-3p-django-framework.yml@GH-Actions
secrets: inherit

with:
trigger: ${{ toJson(github) }}
infradb: ${{ vars.MATRIX_3P_SQLALCHEMY_infradb_mysql }}
connector: ${{ vars.MATRIX_3P_SQLALCHEMY_connector_mysql }}
9 changes: 7 additions & 2 deletions .github/workflows/CI-3p-laravel-framework.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: CI-3p-laravel-framework
run-name: '${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }} ${{ github.workflow }} ${{ github.event.workflow_run && github.event.workflow_run.head_sha || github.sha }}'

on:
workflow_dispatch:
Expand All @@ -7,11 +8,15 @@ on:
types: [ completed ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
group: ${{ github.workflow }}-${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }}
cancel-in-progress: true

jobs:
run:
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
uses: sysown/proxysql/.github/workflows/ci-3p-laravel-framework.yml@GH-Actions
secrets: inherit

with:
trigger: ${{ toJson(github) }}
infradb: ${{ vars.MATRIX_3P_SQLALCHEMY_infradb_mysql }}
connector: ${{ vars.MATRIX_3P_SQLALCHEMY_connector_mysql }}
9 changes: 7 additions & 2 deletions .github/workflows/CI-3p-mariadb-connector-c.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: CI-3p-mariadb-connector-c
run-name: '${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }} ${{ github.workflow }} ${{ github.event.workflow_run && github.event.workflow_run.head_sha || github.sha }}'

on:
workflow_dispatch:
Expand All @@ -7,11 +8,15 @@ on:
types: [ completed ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
group: ${{ github.workflow }}-${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }}
cancel-in-progress: true

jobs:
run:
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
uses: sysown/proxysql/.github/workflows/ci-3p-mariadb-connector-c.yml@GH-Actions
secrets: inherit

with:
trigger: ${{ toJson(github) }}
infradb: ${{ vars.MATRIX_3P_SQLALCHEMY_infradb_mysql }}
connector: ${{ vars.MATRIX_3P_SQLALCHEMY_connector_mysql }}
9 changes: 7 additions & 2 deletions .github/workflows/CI-3p-mysql-connector-j.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: CI-3p-mysql-connector-j
run-name: '${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }} ${{ github.workflow }} ${{ github.event.workflow_run && github.event.workflow_run.head_sha || github.sha }}'

on:
workflow_dispatch:
Expand All @@ -7,11 +8,15 @@ on:
types: [ completed ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
group: ${{ github.workflow }}-${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }}
cancel-in-progress: true

jobs:
run:
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
uses: sysown/proxysql/.github/workflows/ci-3p-mysql-connector-j.yml@GH-Actions
secrets: inherit

with:
trigger: ${{ toJson(github) }}
infradb: ${{ vars.MATRIX_3P_SQLALCHEMY_infradb_mysql }}
connector: ${{ vars.MATRIX_3P_SQLALCHEMY_connector_mysql }}
9 changes: 7 additions & 2 deletions .github/workflows/CI-3p-php-pdo-mysql.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: CI-3p-php-pdo-mysql
run-name: '${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }} ${{ github.workflow }} ${{ github.event.workflow_run && github.event.workflow_run.head_sha || github.sha }}'

on:
workflow_dispatch:
Expand All @@ -7,11 +8,15 @@ on:
types: [ completed ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
group: ${{ github.workflow }}-${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }}
cancel-in-progress: true

jobs:
run:
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
uses: sysown/proxysql/.github/workflows/ci-3p-php-pdo-mysql.yml@GH-Actions
secrets: inherit

with:
trigger: ${{ toJson(github) }}
infradb: ${{ vars.MATRIX_3P_SQLALCHEMY_infradb_mysql }}
connector: ${{ vars.MATRIX_3P_SQLALCHEMY_connector_mysql }}
9 changes: 7 additions & 2 deletions .github/workflows/CI-3p-sqlalchemy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: CI-3p-sqlalchemy
run-name: '${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }} ${{ github.workflow }} ${{ github.event.workflow_run && github.event.workflow_run.head_sha || github.sha }}'

on:
workflow_dispatch:
Expand All @@ -7,11 +8,15 @@ on:
types: [ completed ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
group: ${{ github.workflow }}-${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }}
cancel-in-progress: true

jobs:
run:
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
uses: sysown/proxysql/.github/workflows/ci-3p-sqlalchemy.yml@GH-Actions
secrets: inherit

with:
trigger: ${{ toJson(github) }}
infradb: ${{ vars.MATRIX_3P_SQLALCHEMY_infradb_mysql }}
connector: ${{ vars.MATRIX_3P_SQLALCHEMY_connector_mysql }}
7 changes: 5 additions & 2 deletions .github/workflows/CI-basictests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: CI-basictests
run-name: '${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }} ${{ github.workflow }} ${{ github.event.workflow_run && github.event.workflow_run.head_sha || github.sha }}'

on:
workflow_dispatch:
Expand All @@ -7,11 +8,13 @@ on:
types: [ completed ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
group: ${{ github.workflow }}-${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }}
cancel-in-progress: true

jobs:
run:
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
uses: sysown/proxysql/.github/workflows/ci-basictests.yml@GH-Actions
secrets: inherit

with:
trigger: ${{ toJson(github) }}
9 changes: 3 additions & 6 deletions .github/workflows/CI-builds.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
name: CI-builds
run-name: '${{ github.ref_name }} ${{ github.workflow }} ${{ github.sha }}'

on:
push:
# branches: [ 'v[0-9]+.x','v[0-9]+.[0-9]+','v[0-9]+.[0-9]+.[0-9]+' ]
paths-ignore:
- '.github/**'
- '**.md'
pull_request:
# branches: [ 'v[0-9]+.x','v[0-9]+.[0-9]+','v[0-9]+.[0-9]+.[0-9]+' ]
paths-ignore:
- '.github/**'
Expand All @@ -23,4 +19,5 @@ jobs:
run:
uses: sysown/proxysql/.github/workflows/ci-builds.yml@GH-Actions
secrets: inherit

with:
trigger: ${{ toJson(github) }}
7 changes: 5 additions & 2 deletions .github/workflows/CI-codeql.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: CI-CodeQL
run-name: '${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }} ${{ github.workflow }} ${{ github.event.workflow_run && github.event.workflow_run.head_sha || github.sha }}'

on:
workflow_dispatch:
Expand All @@ -7,11 +8,13 @@ on:
types: [ completed ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
group: ${{ github.workflow }}-${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }}
cancel-in-progress: true

jobs:
run:
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
uses: sysown/proxysql/.github/workflows/ci-codeql.yml@GH-Actions
secrets: inherit

with:
trigger: ${{ toJson(github) }}
8 changes: 6 additions & 2 deletions .github/workflows/CI-maketest.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: CI-maketest
run-name: '${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }} ${{ github.workflow }} ${{ github.event.workflow_run && github.event.workflow_run.head_sha || github.sha }}'

on:
workflow_dispatch:
Expand All @@ -7,11 +8,14 @@ on:
types: [ completed ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
group: ${{ github.workflow }}-${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }}
cancel-in-progress: true

jobs:
run:
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
uses: sysown/proxysql/.github/workflows/ci-maketest.yml@GH-Actions
secrets: inherit

with:
trigger: ${{ toJson(github) }}
target: ${{ vars.MATRIX_MAKETEST_target }}
11 changes: 4 additions & 7 deletions .github/workflows/CI-package-build.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
name: CI-Package-Build
name: CI-package-build
run-name: '${{ github.ref_name }} ${{ github.workflow }} ${{ github.sha }}'

on:
push:
branches: [ 'v[0-9]+.x','v[0-9]+.[0-9]+','v[0-9]+.[0-9]+.[0-9]+' ]
paths-ignore:
- '.github/**'
- '**.md'
pull_request:
branches: [ 'v[0-9]+.x','v[0-9]+.[0-9]+','v[0-9]+.[0-9]+.[0-9]+' ]
paths-ignore:
- '.github/**'
- '**.md'
# schedule:
# - cron: '15 13 * * 3'
workflow_dispatch:
Expand All @@ -23,4 +19,5 @@ jobs:
run:
uses: sysown/proxysql/.github/workflows/ci-package-build.yml@GH-Actions
secrets: inherit

with:
trigger: ${{ toJson(github) }}
7 changes: 5 additions & 2 deletions .github/workflows/CI-repltests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: CI-repltests
run-name: '${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }} ${{ github.workflow }} ${{ github.event.workflow_run && github.event.workflow_run.head_sha || github.sha }}'

on:
workflow_dispatch:
Expand All @@ -7,11 +8,13 @@ on:
types: [ completed ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
group: ${{ github.workflow }}-${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }}
cancel-in-progress: true

jobs:
run:
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
uses: sysown/proxysql/.github/workflows/ci-repltests.yml@GH-Actions
secrets: inherit

with:
trigger: ${{ toJson(github) }}
7 changes: 5 additions & 2 deletions .github/workflows/CI-selftests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: CI-selftests
run-name: '${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }} ${{ github.workflow }} ${{ github.event.workflow_run && github.event.workflow_run.head_sha || github.sha }}'

on:
workflow_dispatch:
Expand All @@ -7,11 +8,13 @@ on:
types: [ completed ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
group: ${{ github.workflow }}-${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }}
cancel-in-progress: true

jobs:
run:
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
uses: sysown/proxysql/.github/workflows/ci-selftests.yml@GH-Actions
secrets: inherit

with:
trigger: ${{ toJson(github) }}
7 changes: 5 additions & 2 deletions .github/workflows/CI-shuntest.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: CI-shuntest
run-name: '${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }} ${{ github.workflow }} ${{ github.event.workflow_run && github.event.workflow_run.head_sha || github.sha }}'

on:
workflow_dispatch:
Expand All @@ -7,11 +8,13 @@ on:
types: [ completed ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
group: ${{ github.workflow }}-${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }}
cancel-in-progress: true

jobs:
run:
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
uses: sysown/proxysql/.github/workflows/ci-shuntest.yml@GH-Actions
secrets: inherit

with:
trigger: ${{ toJson(github) }}
7 changes: 5 additions & 2 deletions .github/workflows/CI-taptests-asan.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: CI-taptests-asan
run-name: '${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }} ${{ github.workflow }} ${{ github.event.workflow_run && github.event.workflow_run.head_sha || github.sha }}'

on:
workflow_dispatch:
Expand All @@ -7,11 +8,13 @@ on:
types: [ completed ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
group: ${{ github.workflow }}-${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }}
cancel-in-progress: true

jobs:
run:
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
uses: sysown/proxysql/.github/workflows/ci-taptests-asan.yml@GH-Actions
secrets: inherit

with:
trigger: ${{ toJson(github) }}
8 changes: 6 additions & 2 deletions .github/workflows/CI-taptests-groups.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: CI-taptests-groups
run-name: '${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }} ${{ github.workflow }} ${{ github.event.workflow_run && github.event.workflow_run.head_sha || github.sha }}'

on:
workflow_dispatch:
Expand All @@ -7,11 +8,14 @@ on:
types: [ completed ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
group: ${{ github.workflow }}-${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }}
cancel-in-progress: true

jobs:
run:
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
uses: sysown/proxysql/.github/workflows/ci-taptests-groups.yml@GH-Actions
secrets: inherit

with:
trigger: ${{ toJson(github) }}
testgroup: ${{ vars.MATRIX_TAP_GROUPS_testgroup }}
7 changes: 5 additions & 2 deletions .github/workflows/CI-taptests-ssl.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: CI-taptests-ssl
run-name: '${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }} ${{ github.workflow }} ${{ github.event.workflow_run && github.event.workflow_run.head_sha || github.sha }}'

on:
workflow_dispatch:
Expand All @@ -7,11 +8,13 @@ on:
types: [ completed ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
group: ${{ github.workflow }}-${{ github.event.workflow_run && github.event.workflow_run.head_branch || github.ref_name }}
cancel-in-progress: true

jobs:
run:
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
uses: sysown/proxysql/.github/workflows/ci-taptests-ssl.yml@GH-Actions
secrets: inherit

with:
trigger: ${{ toJson(github) }}
Loading

0 comments on commit f7e27f6

Please sign in to comment.