Skip to content

Commit 043513c

Browse files
fix(ci): declare DCO in velnor-workflow policy section (#324)
## Summary - Add `[policy]` ruleset declarations for `ci-required` and `DCO` - Fixes Policy CI failures on PRs Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent e431cf5 commit 043513c

7 files changed

Lines changed: 951 additions & 13 deletions

File tree

‎.github-gen/velnor-workflow.toml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ revision = "92c3478694ef423fb4160b8c934d6671ca85b51a"
55
[policy]
66
ruleset_required_status_checks = []
77
ruleset_external_status_checks = []
8-
ci_required = false
98
[workflow]
109
runners = "both"
1110
automatic_lanes = "github"
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# Generated ownership state; do not edit.
22
schema = 2
33
[inputs]
4-
config b0a3f452be209f74
4+
config 812b129a45a01c6e
55
scan 1b72102e5495def6
6-
generator 49
6+
generator 48
77
[outputs]
88
.github/actionlint.yaml ec35f48ae7e90e0e
99
.github/ci/project.toml b19da7b7165e2f66
10-
.github/workflows/ci-main.yml bf74a6e9aeb3e677
10+
.github/workflows/ci-main.yml b58e795b73ac20e3
1111
.github/workflows/ci-policy.yml 8aa45ab903305462
12-
.github/workflows/ci-pr.yml 07630b76df9a0147
13-
.github/workflows/ci-unit-gradle.yml 4468c618529aa9e8
14-
.github/workflows/maintenance.yml 88a28362692358a6
15-
.github/workflows/nightly.yml c73d542eaf687a7e
12+
.github/workflows/ci-pr.yml 8ddc0fe584b9d16a
13+
.github/workflows/ci-unit-gradle.yml 8f990d0334ceccc0
14+
.github/workflows/maintenance.yml 12deca93f7bf908c
15+
.github/workflows/nightly.yml 76e5e2bc12a599c6
1616
config/fleet/velnor-host.env d14b419216449423

‎.github/workflows/ci-main.yml‎

Lines changed: 473 additions & 0 deletions
Large diffs are not rendered by default.

‎.github/workflows/ci-pr.yml‎

Lines changed: 468 additions & 0 deletions
Large diffs are not rendered by default.

‎.github/workflows/ci-unit-gradle.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ jobs:
298298
fi
299299
- name: Report phase timings and cache outcomes
300300
if: always()
301-
uses: tailrocks/velnor/.github/actions/report-velnor-ci-outcomes@92c3478694ef423fb4160b8c934d6671ca85b51a
301+
uses: ./.github/actions/report-velnor-ci-outcomes
302302
with:
303303
job_label: ${{ inputs.unit }}
304304
ci_lane: github
@@ -479,7 +479,7 @@ jobs:
479479
fi
480480
- name: Report phase timings and cache outcomes
481481
if: always()
482-
uses: tailrocks/velnor/.github/actions/report-velnor-ci-outcomes@92c3478694ef423fb4160b8c934d6671ca85b51a
482+
uses: ./.github/actions/report-velnor-ci-outcomes
483483
with:
484484
job_label: ${{ inputs.unit }}
485485
ci_lane: velnor

‎.github/workflows/maintenance.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
run: |
8080
set -euo pipefail
8181
for workflow in ci-main.yml nightly.yml; do
82-
if [[ "$(gh run list --repo "$GITHUB_REPOSITORY" --workflow "$workflow" --status in_progress --limit 1 --json databaseId --jq 'length')" != "0" ]]; then
82+
if [[ "$(gh run list --workflow "$workflow" --status in_progress --limit 1 --json databaseId --jq 'length')" != "0" ]]; then
8383
echo "skip=true" >> "$GITHUB_OUTPUT"
8484
echo "$workflow is in_progress; skipping cache retention" >> "$GITHUB_STEP_SUMMARY"
8585
exit 0

‎.github/workflows/nightly.yml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ jobs:
5757
- name: Dispatch ci-main on default branch
5858
env:
5959
GH_TOKEN: ${{ github.token }}
60-
GITHUB_REPOSITORY: ${{ github.repository }}
6160
DEFAULT_BRANCH: main
6261
DISPATCH_RUNNER: ${{ github.event.inputs.runner || 'both' }}
6362
DISPATCH_SCOPE: ${{ github.event.inputs.scope || 'full' }}
@@ -66,7 +65,6 @@ jobs:
6665
run: |
6766
set -euo pipefail
6867
gh workflow run ci-main.yml \
69-
-R "$GITHUB_REPOSITORY" \
7068
--ref "$DEFAULT_BRANCH" \
7169
-f runner="$DISPATCH_RUNNER" \
7270
-f scope="$DISPATCH_SCOPE" \

0 commit comments

Comments
 (0)