mirror of
https://github.com/nix-community/nix-doom-emacs
synced 2025-09-28 16:51:11 -05:00
32 lines
991 B
YAML
32 lines
991 B
YAML
name: "Update Dependencies"
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '0 0 * * FRI'
|
|
jobs:
|
|
update-deps:
|
|
name: Update dependencies
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
# Nix Flakes doesn't work on shallow clones
|
|
fetch-depth: 0
|
|
- uses: cachix/install-nix-action@v12
|
|
with:
|
|
install_url: https://github.com/numtide/nix-flakes-installer/releases/download/nix-2.4pre20201221_9fab14a/install
|
|
extra_nix_config: |
|
|
experimental-features = nix-command flakes
|
|
- name: Create PRs for dependencies
|
|
env:
|
|
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
GITHUB_BASE_BRANCH: develop
|
|
run: |
|
|
nix develop -c .github/workflows/update_flake_lock.py
|
|
- name: Create PR for updated init.el
|
|
env:
|
|
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
GITHUB_BASE_BRANCH: develop
|
|
run: |
|
|
nix develop -c .github/workflows/update_init_el.py
|