Skip to content

Update packages

Update packages #181

name: "Update packages"
on:
workflow_dispatch:
schedule:
- cron: "5 4 * * *" # https://crontab.guru/#0_10_*_*_0
jobs:
updateFlakePackages:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Nix
uses: cachix/install-nix-action@v20
- uses: DeterminateSystems/magic-nix-cache-action@v6
- name: Update flake packages
run: nix develop --command snow-updater
env:
GIT_AUTHOR_NAME: github-actions[bot]
GIT_AUTHOR_EMAIL: github-actions[bot]@users.noreply.github.com
GIT_COMMITTER_NAME: github-actions[bot]
GIT_COMMITTER_EMAIL: github-actions[bot]@users.noreply.github.com
- name: Create PR
id: create-pr
uses: peter-evans/create-pull-request@v4
with:
branch: "chore/nix_update_actions"
delete-branch: true
title: "Packages: update"
labels: "update"
body: "Updated packages."