Skip to content

Commit c32649b

Browse files
committed
Sync quality-zero governance wrappers
1 parent 2415539 commit c32649b

5 files changed

Lines changed: 56 additions & 14 deletions

File tree

.github/workflows/codecov-analytics.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,22 @@ permissions:
66

77
on:
88
push:
9-
branches: [main]
9+
branches: [main, master]
1010
pull_request:
11-
branches: [main]
11+
branches: [main, master]
1212
workflow_dispatch:
1313

1414
jobs:
1515
shared-codecov-analytics:
1616
permissions:
1717
contents: read
1818
id-token: write
19-
uses: Prekzursil/quality-zero-platform/.github/workflows/reusable-codecov-analytics.yml@ab80e05c2acee987ad17d98e960c59966a4393eb
19+
uses: Prekzursil/quality-zero-platform/.github/workflows/reusable-codecov-analytics.yml@0e7482ede8d157d5183d41dfe2b575560fbea222
2020
with:
2121
repo_slug: ${{ github.repository }}
2222
event_name: ${{ github.event_name }}
2323
sha: ${{ github.event.pull_request.head.sha || github.sha }}
24-
runner: windows-latest
2524
platform_repository: Prekzursil/quality-zero-platform
26-
platform_ref: ab80e05c2acee987ad17d98e960c59966a4393eb
25+
platform_ref: main
2726
secrets:
2827
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Quality Zero Backlog
2+
3+
permissions: {}
4+
5+
on:
6+
schedule:
7+
- cron: "0 3 * * *"
8+
workflow_dispatch:
9+
10+
jobs:
11+
backlog-sweep:
12+
permissions:
13+
contents: write
14+
pull-requests: write
15+
uses: Prekzursil/quality-zero-platform/.github/workflows/reusable-backlog-sweep.yml@7268fee30f1cf796938d97fe460259f27386a8cd
16+
with:
17+
repo_slug: ${{ github.repository }}
18+
lane: quality
19+
secrets:
20+
CODEX_AUTH_JSON: ${{ secrets.CODEX_AUTH_JSON }}

.github/workflows/quality-zero-gate.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@ permissions:
55

66
on:
77
push:
8-
branches: [main]
8+
branches: [main, master]
99
pull_request:
10-
branches: [main]
10+
branches: [main, master]
1111
workflow_dispatch:
1212

1313
jobs:
1414
aggregate-gate:
1515
permissions:
1616
contents: read
17-
uses: Prekzursil/quality-zero-platform/.github/workflows/reusable-quality-zero-gate.yml@ab80e05c2acee987ad17d98e960c59966a4393eb
17+
uses: Prekzursil/quality-zero-platform/.github/workflows/reusable-quality-zero-gate.yml@0e7482ede8d157d5183d41dfe2b575560fbea222
1818
with:
1919
repo_slug: ${{ github.repository }}
2020
event_name: ${{ github.event_name }}
2121
sha: ${{ github.event.pull_request.head.sha || github.sha }}
2222
platform_repository: Prekzursil/quality-zero-platform
23-
platform_ref: ab80e05c2acee987ad17d98e960c59966a4393eb
23+
platform_ref: main

.github/workflows/quality-zero-platform.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ permissions:
77

88
on:
99
push:
10-
branches: [main]
10+
branches: [main, master]
1111
pull_request:
12-
branches: [main]
12+
branches: [main, master]
1313
workflow_dispatch:
1414

1515
jobs:
@@ -18,7 +18,7 @@ jobs:
1818
contents: read
1919
id-token: write
2020
pull-requests: write
21-
uses: Prekzursil/quality-zero-platform/.github/workflows/reusable-scanner-matrix.yml@ab80e05c2acee987ad17d98e960c59966a4393eb
21+
uses: Prekzursil/quality-zero-platform/.github/workflows/reusable-scanner-matrix.yml@0e7482ede8d157d5183d41dfe2b575560fbea222
2222
with:
2323
repo_slug: ${{ github.repository }}
2424
event_name: ${{ github.event_name }}
@@ -27,12 +27,12 @@ jobs:
2727
pull_request_author: ${{ github.event.pull_request.user.login || '' }}
2828
pull_request_head_ref: ${{ github.event.pull_request.head.ref || github.head_ref || '' }}
2929
sha: ${{ github.event.pull_request.head.sha || github.sha }}
30-
coverage_runner: windows-latest
3130
platform_repository: Prekzursil/quality-zero-platform
32-
platform_ref: ab80e05c2acee987ad17d98e960c59966a4393eb
31+
platform_ref: main
3332
secrets:
3433
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
3534
CODACY_API_TOKEN: ${{ secrets.CODACY_API_TOKEN }}
3635
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3736
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
3837
DEEPSCAN_API_TOKEN: ${{ secrets.DEEPSCAN_API_TOKEN }}
38+
DEEPSOURCE_DSN: ${{ secrets.DEEPSOURCE_DSN }}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Quality Zero Remediation
2+
3+
permissions: {}
4+
5+
on:
6+
workflow_run: # zizmor: ignore[dangerous-triggers] -- trusted private runner remediation only responds to internal gate failures.
7+
workflows: ["Quality Zero Gate"]
8+
types: [completed]
9+
workflow_dispatch:
10+
11+
jobs:
12+
remediate:
13+
if: github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'failure'
14+
permissions:
15+
contents: write
16+
pull-requests: write
17+
uses: Prekzursil/quality-zero-platform/.github/workflows/reusable-remediation-loop.yml@7268fee30f1cf796938d97fe460259f27386a8cd
18+
with:
19+
repo_slug: ${{ github.repository }}
20+
failure_context: Quality Zero Gate
21+
sha: ${{ github.event.workflow_run.head_sha || github.sha }}
22+
secrets:
23+
CODEX_AUTH_JSON: ${{ secrets.CODEX_AUTH_JSON }}

0 commit comments

Comments
 (0)