Skip to content

Commit

Permalink
Add auto-update action
Browse files Browse the repository at this point in the history
  • Loading branch information
FaustXVI committed Mar 24, 2024
1 parent 5077ef1 commit 896702a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/flake-auto-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Auto update

on: push

jobs:
format-code:
runs-on: ubuntu-latest

permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write

steps:
- uses: actions/checkout@v4

- uses: cachix/install-nix-action@v25
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}

# Other steps that change files in the repository
- run : nix flake update

# Commit all changed files back to the repository
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Auto update

0 comments on commit 896702a

Please sign in to comment.