Skip to content

Commit

Permalink
ci/update-other: use a job matrix
Browse files Browse the repository at this point in the history
This will allow us to add/remove other branches to schedule updates for
more easily.
  • Loading branch information
MattSturgeon committed Jan 25, 2025
1 parent 5121c30 commit 30c2292
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/update-other.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,16 @@ jobs:
update:
name: Trigger updates for nixvim's stable branches
runs-on: ubuntu-latest
strategy:
matrix:
branches:
- nixos-24.11
steps:
- name: Update nixos-24.11
- name: Update ${{ matrix.branches }}
env:
GH_TOKEN: ${{ github.token }}
repo: ${{ github.repository }}
branch: ${{ matrix.branches }}
run: |
gh --repo "$repo" workflow run \
update.yml --ref nixos-24.11
update.yml --ref "$branch"

0 comments on commit 30c2292

Please sign in to comment.