Weekly funding portfolio review #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Weekly funding portfolio review | |
| # Opens a GitHub issue every Monday at 14:00 UTC (07:00 PT) summarizing | |
| # whether the funding portfolio registry needs new corporate equity | |
| # stakes, compute commitments, or capacity partnerships added. | |
| # See scripts/weekly-funding-portfolio-check.mjs for the report body logic. | |
| on: | |
| schedule: | |
| - cron: '0 14 * * 1' # 14:00 UTC every Monday | |
| workflow_dispatch: # allow manual runs from the Actions tab | |
| permissions: | |
| issues: write | |
| contents: read | |
| jobs: | |
| open-review-issue: | |
| runs-on: ubuntu-latest | |
| if: ${{ github.repository == 'RipperMercs/tensorfeed' }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: '24' | |
| - name: Generate report body | |
| id: report | |
| run: | | |
| node scripts/weekly-funding-portfolio-check.mjs > issue-body.md | |
| { | |
| echo "title=Weekly funding portfolio review: $(date -u +%Y-%m-%d)" | |
| } >> "$GITHUB_OUTPUT" | |
| - name: Open issue | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| gh issue create \ | |
| --title "${{ steps.report.outputs.title }}" \ | |
| --body-file issue-body.md \ | |
| --label "funding,maintenance" |