2024-08-31 07:02:00 +00:00
|
|
|
name: update-riscv
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
jobs:
|
|
|
|
pr:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v4
|
2024-08-31 07:56:35 +00:00
|
|
|
- name: Create update pull request
|
2024-10-13 09:51:16 +00:00
|
|
|
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"
|
|
|
|
}'
|