From a72dca6adb17dc4a436e14ea0ba5ee52e49ea061 Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Mon, 1 Sep 2025 09:46:53 +0100 Subject: [PATCH] fix syntax error --- .github/workflows/months_end.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/months_end.yml b/.github/workflows/months_end.yml index 2bdfb62..f00009f 100644 --- a/.github/workflows/months_end.yml +++ b/.github/workflows/months_end.yml @@ -1,19 +1,20 @@ name: Months End + on: schedule: - - cron: '0 7 29 * *' # Runs at 7:00 AM UTC on the 29th of every month + - cron: '0 7 29 * *' # Runs at 07:00 UTC on the 29th of every month workflow_dispatch: -push: - branches: [main, feature/month_end_automation_of_all] + push: + branches: [main, feature/month_end_automation_of_all] jobs: surveyed-needs-sign-off: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.12' @@ -22,7 +23,9 @@ jobs: pip install poetry poetry install --no-root - - name: run script + - name: Run scripts + env: + PYTHONPATH: ${{ github.workspace }} run: | pwd ls -la @@ -43,5 +46,3 @@ jobs: poetry run python etl/month_end_automation_wave_2_no_16.py poetry run python etl/month_end_automation_wave_accent_housing.py poetry run python etl/month_end_automation_wave_3_layout.py - env: - PYTHONPATH: ${{ github.workspace }} \ No newline at end of file