Skip to content

Update elisp

Update elisp #34

Workflow file for this run

name: Update elisp
on:
workflow_dispatch:
workflow_call:
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: develop
- uses: cachix/install-nix-action@v22
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- run: |
git config --add user.name 'github-actions[bot]'
git config --add user.email '6270544+github-actions[bot]@users.noreply.github.com'
- run: |
nix flake lock \
--update-input melpa \
--update-input gnu-elpa \
--update-input epkgs
- run: nix run .#update --impure
- run: nix run .#update-elisp-lock
- uses: peter-evans/create-pull-request@v5
with:
base: develop
token: ${{ secrets.PAT_FOR_PR }}
title: 'Update Emacs Lisp packages'
branch: update/elisp-packages
labels: automation,update,emacs