Skip to content

Filecoin Deals Report Generator #75

Filecoin Deals Report Generator

Filecoin Deals Report Generator #75

Workflow file for this run

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
name: Filecoin Deals Report Generator
on:
#push:
schedule:
- cron: '11 3 * * *' # Run once a day at 03:11 UTC
workflow_dispatch: # Allow manual trigger
jobs:
generate-report:
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: gha-report # Checkout the gha-report branch
fetch-depth: 0 # Fetch all history to ensure we have the latest changes
- name: Generate Report
run: |
mkdir -p docs
python3 -m pip install aiohttp
python3 .github/faithful-deals-report.py > docs/DEALS-REPORT.md
# Commit changed files back to the repository
- uses: EndBug/add-and-commit@v9
with:
message: Old Faithful Filecoin Deals report update
add: 'docs/DEALS-REPORT.md' # Only add this specific file
author_name: github-actions[bot]
author_email: 41898282+github-actions[bot]@users.noreply.github.com
push: origin gha-report