update npins #4941
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: update npins | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: 10 */1 * * * | |
jobs: | |
lockfile: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@main | |
with: | |
token: ${{ secrets.GH_TOKEN }} | |
- name: Install Nix | |
uses: cachix/install-nix-action@master | |
with: | |
extra_nix_config: | | |
access-tokens = github.com=${{ secrets.GH_TOKEN }} | |
- name: Update npins | |
continue-on-error: true | |
run: | | |
git config user.name 'github-actions' | |
git config user.email '[email protected]' | |
nix run nixpkgs#npins -- update | |
git add . | |
git commit -m "update npins" | |
git push |