mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
34 lines
810 B
YAML
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'
|