Skip to content

Commit ffc13db

Browse files
committed
fix: Switch Codecov to OIDC auth, add unit-tests flag, scope push to main
JIRA: RHELWF-14239 Assisted-by: Claude Code (claude-opus-4-6) <noreply@anthropic.com>
1 parent 10dcecf commit ffc13db

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/gating.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,18 @@ name: Gating
44
"on":
55
pull_request:
66
push:
7+
branches:
8+
- main
79
workflow_dispatch:
810
inputs: {}
911

1012
jobs:
1113
tests:
1214
name: Unit tests
1315
runs-on: ubuntu-latest
16+
permissions:
17+
id-token: write
18+
contents: read
1419

1520
steps:
1621
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
@@ -29,7 +34,8 @@ jobs:
2934
with:
3035
fail_ci_if_error: true
3136
verbose: true
32-
token: ${{ secrets.CODECOV_TOKEN }}
37+
use_oidc: true
38+
flags: unit-tests
3339

3440
linters:
3541
name: Linters

0 commit comments

Comments
 (0)