Skip to content
This repository has been archived by the owner on Aug 25, 2024. It is now read-only.

Update latest inputs #4

Update latest inputs

Update latest inputs #4

name: Update latest inputs
on:
schedule:
- cron: "0 0 * * *" # UTC
workflow_dispatch:
jobs:
update-latest:
runs-on: ubuntu-latest
steps:
- uses: actions/github-app-token@v1
id: app-token
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}
- uses: actions/checkout@v4
with:
token: ${{ steps.app-token.outputs.token }}
ref: ${{ github.head_ref }}
persist-credentials: false
- uses: cachix/install-nix-action@v25
- uses: DeterminateSystems/update-flake-lock@v21
with:
token: ${{ steps.app-token.outputs.token }}
inputs: "vim-plugins-overlay-latest neovim-nightly-overlay-latest"
- name: Setup merge
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh pr merge --auto --delete-branch --squash "update_flake_lock_action"