Skip to content

Review titles (#614) #68

Review titles (#614)

Review titles (#614) #68

name: Ecosystem | Recompile members.json
on:
push:
branches:
- 'main'
paths:
- 'ecosystem/resources/members/*.toml'
workflow_dispatch:
jobs:
recompile_workflow:
runs-on: ubuntu-latest
env:
tox_env: "py39"
python-version: "3.9"
concurrency:
group: ci-ecosystem-recompile
cancel-in-progress: true
steps:
# setup deps
- uses: actions/checkout@v3
- name: Set up Python ${{ env.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ env.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: Git pull
# Just in case anything has changed since the action started
run: git pull
- name: Recompile and push
run: |
python -m manager members recompile
git config user.name github-actions
git config user.email github-actions@github.com
if [[ $(git status -s) != "" ]]; then
git add ecosystem/resources/members.json
git commit -m "Recompile members.json"
git push
fi