Skip to content

Update sources

Update sources #740

---
name: update-sources
on:
workflow_dispatch:
schedule:
# runs every midnight
- cron: "0 0 * * *"
push:
branches:
- main
jobs:
update-sources:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Nix
uses: cachix/install-nix-action@v16
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Run update script
run: |
chmod +x update.sh
./update.sh
- name: Commit changes
uses: EndBug/[email protected]
with:
default_author: github_actions
message: "Update sources"
add: 'sources.json'