repositories: add 2xsaiko overlay #263
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
name: repositories | |
on: | |
pull_request: | |
paths: | |
- 'files/overlays/repositories.xml' | |
jobs: | |
validate-content: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: '3.x' | |
- name: Install pip dependencies | |
run: pip install lxml | |
- name: Check repositories.xml | |
run: | | |
BASE_REF=$(git merge-base --fork-point origin/${{ github.base_ref }}) | |
python bin/repositories-checker.py --github <(git show ${BASE_REF}:files/overlays/repositories.xml) files/overlays/repositories.xml |