Skip to content

Costs Report

Costs Report #159

Workflow file for this run

name: Costs Report
on:
schedule:
- cron: "0 7 * * MON" # mỗi Thứ Hai 14:00 ICT
workflow_dispatch:
permissions:
contents: write
pull-requests: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.11"
- name: Generate COSTS.md
run: |
python scripts/gen_costs_report.py
- name: Create Pull Request
uses: peter-evans/create-pull-request@v8
with:
title: "chore(docs): update COSTS.md (weekly)"
commit-message: "chore(docs): update COSTS.md (weekly)"
branch: "bot/update-costs-md"
base: "main"
delete-branch: true
add-paths: |
reports/COSTS.md