19c4ec6064
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 23 to 24. - [Release notes](https://github.com/cachix/install-nix-action/releases) - [Commits](https://github.com/cachix/install-nix-action/compare/v23...v24) --- updated-dependencies: - dependency-name: cachix/install-nix-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
name: Update lockfiles
|
|
|
|
on:
|
|
schedule:
|
|
# run every friday
|
|
- cron: "0 0 * * 5"
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
update-locks:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: cachix/install-nix-action@v24
|
|
|
|
- name: Set Git user info
|
|
run: |
|
|
git config user.name 'github-actions[bot]'
|
|
git config user.email 'github-actions[bot]@users.noreply.github.com'
|
|
|
|
- name: Update flake inputs
|
|
run: |
|
|
pushd dev
|
|
nix flake update \
|
|
--commit-lock-file --commit-lockfile-summary "chore: update dev flake inputs"
|
|
popd
|
|
|
|
- name: Update upstream sources
|
|
run: |
|
|
nix run nixpkgs#nvfetcher
|
|
|
|
- name: Create PR
|
|
uses: peter-evans/create-pull-request@v5
|
|
with:
|
|
token: ${{ secrets.LOCKFILE_TOKEN }}
|
|
base: "main"
|
|
branch: "update-lock"
|
|
delete-branch: true
|
|
committer: github-actions[bot] github-actions[bot]@users.noreply.github.com
|
|
commit-message: "chore: update nvfetcher sources"
|
|
title: "chore: update lockfiles"
|
|
body: "Automated pull request updating flake inputs and nvfetcher sources"
|