-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: merge and cleanup workflows (#282)
* ci: only format nix files in upstream repo * ci: merge release & publish workflows * ci: merge flake.lock & port update workflows * ci: conditionally run website workflow
- Loading branch information
Showing
7 changed files
with
107 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: Update lockfiles | ||
|
||
on: | ||
schedule: | ||
# run every friday | ||
- cron: "0 0 * * 5" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
flake: | ||
name: Update flake.lock | ||
|
||
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@v23 | ||
with: | ||
path-to-flake-dir: "./dev" | ||
commit-msg: "chore: update dev flake inputs" | ||
pr-title: "chore: update dev flake inputs" | ||
token: ${{ github.token }} | ||
|
||
ports: | ||
name: Update port sources | ||
|
||
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 | ||
|
||
- name: Install npins | ||
run: nix profile install 'nixpkgs#npins' | ||
|
||
- uses: getchoo/[email protected] | ||
with: | ||
npins-directory: "./.sources" | ||
commit-message: "chore(modules): update ports" | ||
pr-title: "chore(modules): update ports" | ||
token: ${{ github.token }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters