28e6d8a18d
* feat(modules): add `catppuccin.sources` option * refactor(modules)!: nvfetcher -> npins npins gives us a nicer file to import that is a simple name value pair of the port and the path in the store. this allows for easier overriding with the catppuccin.sources option * fix(modules): ensure default sources are applied to `catppuccin.sources`
30 lines
634 B
YAML
30 lines
634 B
YAML
name: Validate sources
|
|
# Per CONTRIBUTING.md, we do not accept unofficial ports. This enforces
|
|
# that policy and ensures all sources are only from the official GitHub org
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- '.sources/**'
|
|
pull_request:
|
|
paths:
|
|
- '.sources/**'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
check:
|
|
name: Check for external repositories
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install Nix
|
|
uses: cachix/install-nix-action@v26
|
|
|
|
- name: Run check
|
|
run: |
|
|
set -e
|
|
nix eval --file ./.github/checkSources.nix
|