nixos-config/.github/workflows/update-riscv.yaml
Charlotte 🦝 Delenk 7a7b7456ee
All checks were successful
update-riscv / pr (push) Successful in 29s
replace riscv update script
2024-10-13 11:51:16 +02:00

24 lines
687 B
YAML

name: update-riscv
on:
push:
branches:
- main
jobs:
pr:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Create update pull request
run: |
curl -X 'POST' \
'https://git.chir.rs/api/v1/repos/darkkirb/nixos-config/pulls' \
-H 'Authorization: Bearer ${{secrets.GITHUB_TOKEN}}' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"base": "main-riscv",
"body": "Keeping main-riscv up to date",
"head": "main",
"title": "Update RISC-V config"
}'