name: CI-set_parser_algorithm_3-g1 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 for the callee's `use_oidc: true` Codecov # upload step to mint a GitHub OIDC token. Reusable-workflow # permissions are the intersection of caller + callee, so the # caller has to grant id-token:write (and everything else included # in write-all) for the callee's declaration to take effect. The # callee at ci-.yml@GH-Actions also declares write-all. permissions: write-all uses: sysown/proxysql/.github/workflows/ci-set_parser_algorithm_3-g1.yml@GH-Actions # NOSONAR: branch ref matches all other caller workflows secrets: inherit # NOSONAR: matches all other caller workflows with: trigger: ${{ toJson(github) }}