Skip to content

repositories: add masterlay #258

repositories: add masterlay

repositories: add masterlay #258

Workflow file for this run

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