32 lines
963 B
YAML
32 lines
963 B
YAML
name: Weekly Flake Update PR
|
|
|
|
on:
|
|
schedule:
|
|
# Every Friday at 22:00 UTC
|
|
- cron: '0 22 * * 5'
|
|
workflow_dispatch: {}
|
|
|
|
jobs:
|
|
create-pr:
|
|
runs-on: nix
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Update flake inputs
|
|
run: nix flake update
|
|
|
|
- name: Create Pull Request
|
|
uses: https://github.com/maxking/forgejo-create-pr@v1
|
|
with:
|
|
token: ${{ secrets.FORGEJO_TOKEN }}
|
|
base: master
|
|
add-paths: flake.lock
|
|
commit-message: "chore: update flake inputs"
|
|
pr-title: "chore: weekly flake update"
|
|
pr-body: "Automated flake update from CI.\n\nThis PR updates all flake inputs.\n\n**Note:** Build verification will run automatically on this PR."
|
|
pr-branch: "auto-update/${{ forgejo.run_id }}"
|
|
commit-user: "Flake Update Bot"
|
|
commit-email: "git@noreply.local"
|