From e557e7fbccdf6dcf898cd14b43079bb59865e5b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9ana=20=E6=B1=9F?= Date: Sun, 12 Oct 2025 11:52:37 +0800 Subject: [PATCH] test --- .forgejo/workflows/update-npins-sources.yml | 34 +++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .forgejo/workflows/update-npins-sources.yml diff --git a/.forgejo/workflows/update-npins-sources.yml b/.forgejo/workflows/update-npins-sources.yml new file mode 100644 index 00000000..ec3458d0 --- /dev/null +++ b/.forgejo/workflows/update-npins-sources.yml @@ -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'