Skip to content

Commit bca6542

Browse files
committed
test 3
1 parent 3cf74b7 commit bca6542

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.github/workflows/code_quality.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v3
16+
with:
17+
persist-credentials: false # Important: This must be set for actions-js/push
18+
fetch-depth: 0 # Important: Fetch all history for all tags and branches
1619
- name: Set up Python
1720
uses: actions/setup-python@v4
1821
with:
@@ -25,8 +28,8 @@ jobs:
2528
run: ruff --fix .
2629
- name: Security Check with Bandit
2730
run: bandit -r .
28-
# Commit and push changes made by Black and Ruff
2931
- name: Commit & Push changes
30-
uses: actions-js/push@main
32+
uses: actions-js/push@v1.4
3133
with:
3234
github_token: ${{ secrets.MY_GITHUB_TOKEN }}
35+
branch: ${{ github.ref }}

src/energy_forcasting_model/pipelines/lightgbm_training_pipeline/pipeline.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ def create_pipeline(**kwargs) -> Pipeline:
5151
tags="model_training",
5252
namespace="lightgbm_training_pipeline",
5353
inputs=[
54-
"X_train",
55-
"y_train",
56-
"X_test",
57-
"y_test",
54+
"X_train",
55+
"y_train",
56+
"X_test",
57+
"y_test",
5858
],
5959
outputs=[
6060
"lightgbm_model",

0 commit comments

Comments
 (0)