v3.0 CI-repltests 90d4cc18bfe2fc8c8a5c32a7b068332e9db5a09f #2517
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: | |
| workflow_run: | |
| workflows: [ CI-trigger ] | |
| types: [ completed ] | |
| concurrency: | |
| 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 }} | |
| # `write-all` is required because reusable-workflow permissions are the | |
| # intersection of caller + callee. Without it the workflow_run event's | |
| # GITHUB_TOKEN has no cache-writable scope, so the callee's | |
| # actions/cache/save@v4 fails with 'cache write denied: token has no | |
| # writable scopes' (GitHub started enforcing this for workflow_run in | |
| # early July 2026 alongside the Node.js 20 -> 24 actions deprecation). | |
| # The callee at ci-<group>.yml@GH-Actions also declares write-all. | |
| permissions: write-all | |
| uses: sysown/proxysql/.github/workflows/ci-repltests.yml@GH-Actions | |
| secrets: inherit | |
| with: | |
| trigger: ${{ toJson(github) }} |