Skip to content

Update Dependencies #17

Update Dependencies

Update Dependencies #17

name: Update Dependencies
on:
schedule:
- cron: "0 22 * * FRI"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
development:
name: Update development dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: DeterminateSystems/nix-installer-action@v21
- name: Update flake.lock
id: update
uses: DeterminateSystems/update-flake-lock@v28
with:
branch: "update_flake_lock_development"
inputs: devenv flake-parts import-tree nixpkgs snekcheck treefmt-nix
pr-title: "deps: update development dependencies"
pr-labels: |
automated
dependencies
token: ${{ secrets.PR_BOT_PERSONAL_ACCESS_TOKEN }}
- name: Enable auto-merge
if: steps.update.outputs.pull-request-number != ''
env:
GH_TOKEN: ${{ secrets.PR_BOT_PERSONAL_ACCESS_TOKEN }}
run: gh pr merge ${{ steps.update.outputs.pull-request-number }} --auto --squash
build:
name: Update build dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: DeterminateSystems/nix-installer-action@v21
- name: Update flake.lock
id: update
uses: DeterminateSystems/update-flake-lock@v28
with:
branch: "update_flake_lock_build"
inputs: nixpkgs-just
pr-title: "deps: update build dependencies"
pr-labels: |
automated
dependencies
token: ${{ secrets.PR_BOT_PERSONAL_ACCESS_TOKEN }}
- name: Enable auto-merge
if: steps.update.outputs.pull-request-number != ''
env:
GH_TOKEN: ${{ secrets.PR_BOT_PERSONAL_ACCESS_TOKEN }}
run: gh pr merge ${{ steps.update.outputs.pull-request-number }} --auto --squash