Update sources #1094
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: "Update sources" | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
jobs: | |
update-sources: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v25 | |
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' |