12.nixvim/.github/workflows/update-other.yml
Matt Sturgeon 5121c309b3
ci/update-other: remove redundant condition
This workflow is only ever run on-schedule. There's no reason to check
the event name in an if-condition.
2025-01-25 18:41:34 +00:00

22 lines
509 B
YAML

name: Schedule update for other branches
on:
# Runs every Saturday at noon
schedule:
- cron: "0 12 * * SAT"
# Allow running workflows
permissions:
actions: write
jobs:
update:
name: Trigger updates for nixvim's stable branches
runs-on: ubuntu-latest
steps:
- name: Update nixos-24.11
env:
GH_TOKEN: ${{ github.token }}
repo: ${{ github.repository }}
run: |
gh --repo "$repo" workflow run \
update.yml --ref nixos-24.11