rose-pine-nix/.github/workflows/update-locks.yml
renovate[bot] 4e08dd54fb
ci: update determinatesystems/update-flake-lock action to v24 (#344)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-08 12:59:52 -04:00

57 lines
1.2 KiB
YAML

name: Update lockfiles
on:
schedule:
# run every friday
- cron: "0 0 * * 5"
workflow_dispatch:
jobs:
flake:
name: Update flake.lock
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@V27
- uses: DeterminateSystems/update-flake-lock@v24
with:
path-to-flake-dir: "./dev"
commit-msg: "chore: update dev flake inputs"
pr-title: "chore: update dev flake inputs"
token: ${{ github.token }}
ports:
name: Update port sources
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@V27
- name: Install npins
run: nix profile install 'nixpkgs#npins'
- uses: getchoo/update-npins@v0.1.2
with:
npins-directory: "./.sources"
commit-message: "chore(modules): update ports"
pr-title: "chore(modules): update ports"
token: ${{ github.token }}