mirror of
https://github.com/alexhopeoconnor/default.git
synced 2026-10-18 08:51:44 +10:00
22 lines
529 B
YAML
22 lines
529 B
YAML
name: "Check Info"
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
name: "Check Info"
|
|
steps:
|
|
- name: Check out repository
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Clone origin
|
|
run: git clone --depth 1 https://github.com/hacs/default /tmp/default
|
|
|
|
- name: Clone new addition
|
|
run: |
|
|
repo=$(python3 -m scripts.changed.repo)
|
|
git clone --depth 1 "https://github.com/$repo" /tmp/addition
|
|
|
|
- name: Check info
|
|
run: python3 -m scripts.check.info
|