mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
test
This commit is contained in:
parent
b1059321a4
commit
e557e7fbcc
1 changed files with 34 additions and 0 deletions
34
.forgejo/workflows/update-npins-sources.yml
Normal file
34
.forgejo/workflows/update-npins-sources.yml
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
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'
|
||||||
Loading…
Add table
Add a link
Reference in a new issue