mirror of
https://github.com/codex-storage/codex-pm.git
synced 2025-01-09 18:45:53 +00:00
add vacuum.yml workflow
This commit is contained in:
parent
586c405267
commit
84c911879f
38
.github/workflows/vacuum.yml
vendored
Normal file
38
.github/workflows/vacuum.yml
vendored
Normal file
@ -0,0 +1,38 @@
|
||||
name: Vacuum
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
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.GH_PAT }}
|
||||
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
|
Loading…
x
Reference in New Issue
Block a user