oops #1990
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: Generate Grants | |
on: | |
push: | |
branches: | |
- master | |
schedule: | |
- cron: "0 4 * * *" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v6 | |
- name: Generate the list of grants | |
run: uv run python scripts/generate_grants.py > ./docs/operations/grants.rst | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Create PR | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
add-paths: ./docs/operations/grants.rst | |
commit-message: "update the list of grants (generated)" | |
branch: automation/grants | |
title: "Automated update of the list of grants" | |
body: > | |
Automated update of the list of grants :robot: | |
For details, see [the docs](https://docs.pyvec.org/CONTRIBUTING.html#skript-na-generovani-zapisu-hlasovani-o-grantech) :book: |