2024-04-11 19:48:24 -07:00
|
|
|
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:
|
2024-05-13 13:33:16 -07:00
|
|
|
- '.sources/**'
|
2024-04-11 19:48:24 -07:00
|
|
|
pull_request:
|
|
|
|
paths:
|
2024-05-13 13:33:16 -07:00
|
|
|
- '.sources/**'
|
2024-04-11 19:48:24 -07:00
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
check:
|
|
|
|
name: Check for external repositories
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
|
|
|
- name: Install Nix
|
2024-05-20 17:08:27 -07:00
|
|
|
uses: cachix/install-nix-action@V27
|
2024-04-11 19:48:24 -07:00
|
|
|
|
|
|
|
- name: Run check
|
|
|
|
run: |
|
|
|
|
set -e
|
|
|
|
nix eval --file ./.github/checkSources.nix
|