Skip to content

update_deps

update_deps #241

Workflow file for this run

name: update_deps
on:
workflow_dispatch: #allow manual triggering
schedule:
- cron: "0 4 * * *"
jobs:
update_deps:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/[email protected]
- name: install nix
uses: DeterminateSystems/nix-installer-action@v12
- name: setup git
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
- name: update
run: |
MESSAGE=""
nix flake update --no-warn-dirty --commit-lock-file
nix run .#fetcher
nix run nixpkgs#nix-update -- -F legacyPackages.$(nix eval --raw --impure --expr 'builtins.currentSystem').spicetify
git add -A
git commit --amend -m "CI update $(date -I)" -m "$MESSAGE"
git push origin HEAD:${{ github.ref_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}