mirror of
https://github.com/zen-browser/theme-store.git
synced 2025-07-07 17:05:31 +02:00
Add PR check workflow to rebuild themes after theme submission
This commit is contained in:
parent
3a81c32559
commit
7c9b290b95
1 changed files with 27 additions and 0 deletions
27
.github/workflows/pr-check.yml
vendored
Normal file
27
.github/workflows/pr-check.yml
vendored
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue