-
Notifications
You must be signed in to change notification settings - Fork 29
36 lines (29 loc) · 996 Bytes
/
update-nix-sources.yml
File metadata and controls
36 lines (29 loc) · 996 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Update Nix Sources
on:
workflow_dispatch:
schedule:
- cron: "0 9 * * 1"
permissions:
contents: write
pull-requests: write
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Install Nix
uses: cachix/install-nix-action@2126ae7fc54c9df00dd18f7f18754393182c73cd # v31
- name: Update nix sources
run: ./scripts/update-nix-sources.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create pull request
uses: peter-evans/create-pull-request@22a9089034f40e5a961c8808d113e2c98fb63676 # v7
with:
commit-message: "chore(nix): update release hashes"
title: "chore(nix): update release hashes"
body: |
Automated update of `nix/sources.json` from the latest GitHub release checksums.
branch: chore/update-nix-sources
delete-branch: true