38 lines
813 B
YAML

name: Vacuum
on:
push:
branches:
- master
jobs:
vacuum:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests
- name: Run Vacuum script
run: |
python .github/scripts/vacuum.py
env:
GH_PAT: ${{ secrets.SYNC_LABELS2 }}
working-directory: ${{ github.workspace }}
- name: Upload issue events as artifact
uses: actions/upload-artifact@v2
with:
name: issue-events
path: output/*.json
if-no-files-found: warn