Skip to content

Automatically update niv-managed dependencies #228

Automatically update niv-managed dependencies

Automatically update niv-managed dependencies #228

Workflow file for this run

name: Automatically update niv-managed dependencies
on:
# Manual override, one can start the workflow by running:
# curl -H "Accept: application/vnd.github.everest-preview+json" \
# -H "Authorization: token <your-token-here>" \
# --request POST \
# --data '{"event_type": "niv-updater-nudge", "client_payload": {}}' \
# https://api.github.com/repos/knl/dotskel/dispatches
# https://help.github.com/en/actions/reference/events-that-trigger-workflows#external-events-repository_dispatch
repository_dispatch:
types: niv-updater-nudge
# this is to trigger the workflow manually from the Github page
workflow_dispatch:
inputs:
with_debug:
description: Enable debugging output
required: false
default: false
whitelist:
description: Which packages to build
required: false
default: ''
schedule:
# * is a special character in YAML so you have to quote this string
# Run every Tuesday at 03:30, but we use the dispatch to trigger when urgent
# This used to run every day, but that is way too many changes...
- cron: '30 3 * * 2'
jobs:
niv-updater:
name: 'Check for updates (weekly)'
runs-on: ubuntu-latest
steps:
- name: niv-updater-action
uses: knl/niv-updater-action@main
with:
blacklist: 'emacs-overlay,doomemacs,nixpkgs'
keep_updating: true
branch_prefix: 'update/'
env:
GITHUB_TOKEN: ${{ secrets.NIV_UPDATER_TOKEN }}