Skip to content

Commit

Permalink
ci: split port & flake input updates (catppuccin#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
getchoo authored Jun 4, 2024
1 parent dc9553e commit 534be87
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 70 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/update-flake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Update flake.lock

on:
schedule:
# run every friday
- cron: "0 0 * * 5"
workflow_dispatch:

jobs:
update:
name: Run update & create PR

runs-on: ubuntu-latest

permissions:
contents: write
pull-requests: write

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install Nix
uses: cachix/install-nix-action@V27

- uses: DeterminateSystems/update-flake-lock@v22
with:
path-to-flake-dir: "./dev"
commit-msg: "chore: update dev flake inputs"
pr-title: "chore: update dev flake inputs"
token: ${{ github.token }}
70 changes: 0 additions & 70 deletions .github/workflows/update-lock.yml

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/update-ports.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Update ports

on:
schedule:
# run every other weekday
- cron: "0 0 * * 1,3,5"
workflow_dispatch:

jobs:
update:
name: Run update & create PR

runs-on: ubuntu-latest

permissions:
contents: write
pull-requests: write

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install Nix
uses: cachix/install-nix-action@V27

- uses: getchoo/[email protected]
with:
npins-directory: "./.sources"
commit-message: "chore: update ports"
pr-title: "chore: update ports"
token: ${{ github.token }}

0 comments on commit 534be87

Please sign in to comment.