Skip to content

Commit cae8c76

Browse files
authored
Merge pull request #5828 from sysown/feature/ci-codecov-tap-all-groups-callers
ci(coverage): grant write-all on TAP-group callers for Codecov OIDC
2 parents 97eab1b + b25ed9f commit cae8c76

41 files changed

Lines changed: 317 additions & 4 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/CI-legacy-clickhouse-g1.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ concurrency:
1414
jobs:
1515
run:
1616
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
17+
# `write-all` is required for the callee's `use_oidc: true` Codecov
18+
# upload step to mint a GitHub OIDC token. Reusable-workflow
19+
# permissions are the intersection of caller + callee, so the
20+
# caller has to grant id-token:write (and everything else included
21+
# in write-all) for the callee's declaration to take effect. The
22+
# callee at ci-<group>.yml@GH-Actions also declares write-all.
23+
permissions: write-all
1724
uses: sysown/proxysql/.github/workflows/ci-legacy-clickhouse-g1.yml@GH-Actions
1825
secrets: inherit
1926
with:

.github/workflows/CI-legacy-g1.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ concurrency:
1414
jobs:
1515
run:
1616
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
17+
# `write-all` is required for the callee's `use_oidc: true` Codecov
18+
# upload step to mint a GitHub OIDC token. Reusable-workflow
19+
# permissions are the intersection of caller + callee, so the
20+
# caller has to grant id-token:write (and everything else included
21+
# in write-all) for the callee's declaration to take effect. The
22+
# callee at ci-<group>.yml@GH-Actions also declares write-all.
23+
permissions: write-all
1724
uses: sysown/proxysql/.github/workflows/ci-legacy-g1.yml@GH-Actions
1825
secrets: inherit
1926
with:

.github/workflows/CI-legacy-g3.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ concurrency:
1414
jobs:
1515
run:
1616
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
17+
# `write-all` is required for the callee's `use_oidc: true` Codecov
18+
# upload step to mint a GitHub OIDC token. Reusable-workflow
19+
# permissions are the intersection of caller + callee, so the
20+
# caller has to grant id-token:write (and everything else included
21+
# in write-all) for the callee's declaration to take effect. The
22+
# callee at ci-<group>.yml@GH-Actions also declares write-all.
23+
permissions: write-all
1724
uses: sysown/proxysql/.github/workflows/ci-legacy-g3.yml@GH-Actions
1825
secrets: inherit
1926
with:

.github/workflows/CI-legacy-g4.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ concurrency:
1414
jobs:
1515
run:
1616
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
17+
# `write-all` is required for the callee's `use_oidc: true` Codecov
18+
# upload step to mint a GitHub OIDC token. Reusable-workflow
19+
# permissions are the intersection of caller + callee, so the
20+
# caller has to grant id-token:write (and everything else included
21+
# in write-all) for the callee's declaration to take effect. The
22+
# callee at ci-<group>.yml@GH-Actions also declares write-all.
23+
permissions: write-all
1724
uses: sysown/proxysql/.github/workflows/ci-legacy-g4.yml@GH-Actions
1825
secrets: inherit
1926
with:

.github/workflows/CI-legacy-g5.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ concurrency:
1414
jobs:
1515
run:
1616
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
17+
# `write-all` is required for the callee's `use_oidc: true` Codecov
18+
# upload step to mint a GitHub OIDC token. Reusable-workflow
19+
# permissions are the intersection of caller + callee, so the
20+
# caller has to grant id-token:write (and everything else included
21+
# in write-all) for the callee's declaration to take effect. The
22+
# callee at ci-<group>.yml@GH-Actions also declares write-all.
23+
permissions: write-all
1724
uses: sysown/proxysql/.github/workflows/ci-legacy-g5.yml@GH-Actions
1825
secrets: inherit
1926
with:

.github/workflows/CI-legacy-g6.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ concurrency:
1414
jobs:
1515
run:
1616
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
17+
# `write-all` is required for the callee's `use_oidc: true` Codecov
18+
# upload step to mint a GitHub OIDC token. Reusable-workflow
19+
# permissions are the intersection of caller + callee, so the
20+
# caller has to grant id-token:write (and everything else included
21+
# in write-all) for the callee's declaration to take effect. The
22+
# callee at ci-<group>.yml@GH-Actions also declares write-all.
23+
permissions: write-all
1724
uses: sysown/proxysql/.github/workflows/ci-legacy-g6.yml@GH-Actions
1825
secrets: inherit
1926
with:

.github/workflows/CI-legacy-g7.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ concurrency:
1414
jobs:
1515
run:
1616
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
17+
# `write-all` is required for the callee's `use_oidc: true` Codecov
18+
# upload step to mint a GitHub OIDC token. Reusable-workflow
19+
# permissions are the intersection of caller + callee, so the
20+
# caller has to grant id-token:write (and everything else included
21+
# in write-all) for the callee's declaration to take effect. The
22+
# callee at ci-<group>.yml@GH-Actions also declares write-all.
23+
permissions: write-all
1724
uses: sysown/proxysql/.github/workflows/ci-legacy-g7.yml@GH-Actions
1825
secrets: inherit
1926
with:

.github/workflows/CI-legacy-g8.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ concurrency:
1414
jobs:
1515
run:
1616
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
17+
# `write-all` is required for the callee's `use_oidc: true` Codecov
18+
# upload step to mint a GitHub OIDC token. Reusable-workflow
19+
# permissions are the intersection of caller + callee, so the
20+
# caller has to grant id-token:write (and everything else included
21+
# in write-all) for the callee's declaration to take effect. The
22+
# callee at ci-<group>.yml@GH-Actions also declares write-all.
23+
permissions: write-all
1724
uses: sysown/proxysql/.github/workflows/ci-legacy-g8.yml@GH-Actions
1825
secrets: inherit
1926
with:

.github/workflows/CI-legacy-g9.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ concurrency:
1414
jobs:
1515
run:
1616
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
17+
# `write-all` is required for the callee's `use_oidc: true` Codecov
18+
# upload step to mint a GitHub OIDC token. Reusable-workflow
19+
# permissions are the intersection of caller + callee, so the
20+
# caller has to grant id-token:write (and everything else included
21+
# in write-all) for the callee's declaration to take effect. The
22+
# callee at ci-<group>.yml@GH-Actions also declares write-all.
23+
permissions: write-all
1724
uses: sysown/proxysql/.github/workflows/ci-legacy-g9.yml@GH-Actions
1825
secrets: inherit
1926
with:

.github/workflows/CI-mariadb10-galera-g1.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ concurrency:
1414
jobs:
1515
run:
1616
if: ${{ github.event.workflow_run && github.event.workflow_run.conclusion == 'success' || ! github.event.workflow_run }}
17+
# `write-all` is required for the callee's `use_oidc: true` Codecov
18+
# upload step to mint a GitHub OIDC token. Reusable-workflow
19+
# permissions are the intersection of caller + callee, so the
20+
# caller has to grant id-token:write (and everything else included
21+
# in write-all) for the callee's declaration to take effect. The
22+
# callee at ci-<group>.yml@GH-Actions also declares write-all.
23+
permissions: write-all
1724
uses: sysown/proxysql/.github/workflows/ci-mariadb10-galera-g1.yml@GH-Actions
1825
secrets: inherit
1926
with:

0 commit comments

Comments
 (0)