From 77a3726c3008aabce95814fd5713c5beaf1acd14 Mon Sep 17 00:00:00 2001 From: Mandresy RABENJAHARISON Date: Tue, 16 Sep 2025 16:09:43 +0300 Subject: [PATCH] feat: add workflow to send weekly timesheets to Odoo --- .gitea/workflows/test-timesheets.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitea/workflows/test-timesheets.yaml diff --git a/.gitea/workflows/test-timesheets.yaml b/.gitea/workflows/test-timesheets.yaml new file mode 100644 index 0000000..dc63c9c --- /dev/null +++ b/.gitea/workflows/test-timesheets.yaml @@ -0,0 +1,18 @@ +name: Send Weekly Timesheets to Odoo + +on: + schedule: + - cron: '*/10 * * * *' + workflow_dispatch: + +jobs: + weekly-timesheets: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v3 + - name: Send Weekly Timesheets to Odoo + uses: https://gitea.ethumada.com/gitea/export-issue-tracked-times@v1.0.0 + with: + fastapi-base-url: ${{ secrets.FASTAPI_BASE_URL }} + fastapi-token: ${{ secrets.FASTAPI_TOKEN }}