.files/.forgejo/workflows/update-npins-sources.yml
2025-10-12 11:53:23 +08:00

34 lines
810 B
YAML

name: Update npins sources
on:
schedule:
- cron: '0 0 * * 3,6'
# DEBUG:
push:
branches:
- 'runner-test'
jobs:
create-pr:
runs-on: nix-25.05
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Update
run: |
nix-shell
npins update
just os vanadium build # Make sure it builds
# TODO: push some heavy packages to cachix
- name: Create Pull Request
uses: https://github.com/maxking/forgejo-create-pr@2.12
with:
# required
token: ${{ secrets.GH_TOKEN }}
# optional
base: 'trunk'
commit-message: 'npins: update sources'
pr-title: '[automated] update npins sources'
pr-body: 'This PR contains automated changes'