26 lines
788 B
YAML
26 lines
788 B
YAML
name: 'weekly-odoo-timesheets'
|
||
description: 'List weekly Gitea issue tracked times (Mon–Sat) and create Odoo timesheets via FastAPI.'
|
||
|
||
author: 'Mandresy RABENJAHARISON <mandresy.rabenjaharison@ethumada.com>'
|
||
branding:
|
||
icon: clock
|
||
color: blue
|
||
|
||
inputs:
|
||
fastapi-base-url:
|
||
description: 'Base URL of the FastAPI server.'
|
||
required: true
|
||
gitea-base-url:
|
||
description: 'Base URL of the Gitea API (optional; defaults to https://gitea.ethumada.com).'
|
||
required: false
|
||
|
||
runs:
|
||
using: 'docker'
|
||
image: 'Dockerfile'
|
||
env:
|
||
FASTAPI_BASE_URL: ${{ inputs.fastapi-base-url }}
|
||
GITEA_BASE_URL: https://gitea.ethumada.com
|
||
REPO_OWNER: ${{ gitea.event.repository.owner.login }}
|
||
REPO_NAME: ${{ gitea.event.repository.name }}
|
||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|