Update elisp #32
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 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@v4 | |
with: | |
base: develop | |
token: ${{ secrets.PAT_FOR_PR }} | |
title: 'Update Emacs Lisp packages' | |
branch: update/elisp-packages | |
labels: automation,update,emacs |