Skip to content

Added removal of blacklist items before saving manual check file #326

Added removal of blacklist items before saving manual check file

Added removal of blacklist items before saving manual check file #326

Workflow file for this run

name: Maintenance
on: [push, pull_request]
jobs:
cleanup:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Run clean up bib files
run: python scripts/actions/cleanup.py
- name: Commit changes
run: sudo bash scripts/actions/commit_action.sh
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force: true
checks:
needs: cleanup
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install packages
run: pip install -r tests/requirements.txt
- name: Run bib file inspection
run: pytest
websites-workflow-dispatch:
needs: checks
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Trigger rebuild of the websites
run: bash scripts/actions/build_websites.sh
env:
WEB_TEAM_TOKEN: ${{ secrets.WEB_TEAM_TOKEN }}