Skip to content

Commit

Permalink
add update flake.lock action
Browse files Browse the repository at this point in the history
  • Loading branch information
MayNiklas committed Aug 7, 2023
1 parent edf2047 commit 9bf0a8a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/update-flake.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: update-flake-lock
on:
workflow_dispatch:

jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install Nix
uses: cachix/install-nix-action@v22
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Update flake.lock
id: update
uses: DeterminateSystems/update-flake-lock@v19
with:
inputs: nixpkgs nixpkgs-unstable home-manager flake-utils adblockStevenBlack

- name: Print PR number
run: echo Pull request number is ${{ steps.update.outputs.pull-request-number }}.

0 comments on commit 9bf0a8a

Please sign in to comment.