Add PR check workflow to rebuild themes after theme submission

This commit is contained in:
mr. M 2024-10-20 16:27:00 +02:00
parent 3a81c32559
commit 7c9b290b95
No known key found for this signature in database
GPG key ID: CBD57A2AEDBDA1FB

27
.github/workflows/pr-check.yml vendored Normal file
View file

@ -0,0 +1,27 @@
name: Check PR is valid
on:
pull_request:
types: [opened, synchronize]
jobs:
check:
name: Rebuild themes after theme submission
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Setup python modules
run: |
pip3 install requests
- name: Rebuild all themes
run: |
python3 scripts/rebuild_themes.py