Skip to content

Commit b347c3d

Browse files
committed
Rename debug-level to log-level, set to WARN in CI
1 parent b3966c3 commit b347c3d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/actions/config/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ runs:
3232
--trigger-default-branch='${{ github.event.repository.default_branch }}' \
3333
--trigger-branch='${{ github.head_ref || github.ref_name }}' --trigger-commit='${{ github.sha }}' \
3434
--github-token='${{ inputs.FM_CI_TOKEN }}'" \
35+
--log-level='WARN'
3536
| tee -a "$GITHUB_OUTPUT"
3637
echo ci-script="uv --project dev/ci/gen/ run dev/ci/gen/ci.py" \
3738
| tee -a "$GITHUB_OUTPUT"

dev/ci/gen/ci.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ def log_level(level_str):
593593
return level_str
594594

595595
def add_common_args(parser):
596-
parser.add_argument("--debug-level", choices=['DEBUG', 'INFO', 'WARN', 'ERROR'], type=log_level, default='INFO')
596+
parser.add_argument("--log-level", choices=['DEBUG', 'INFO', 'WARN', 'ERROR'], type=log_level, default='INFO')
597597
parser.add_argument("--trigger-repo", help="The GitHub path of the repository triggering the current pipeline. Format: USER_OR_ORG/REPO_NAME", required=True, type=str)
598598
parser.add_argument("--trigger-event-type", help="The event type", required=True, type=EventType.of_type)
599599
parser.add_argument("--trigger-pr", help="The PR triggering this pipeline, if any. Considered missing if empty. Default: Retrieved via Github API.", required=False, type=non_empty_str)

0 commit comments

Comments
 (0)