From 84c911879f7693209b899bd097dc4e16fb51ddc3 Mon Sep 17 00:00:00 2001 From: jessiebroke <18238304+jessiebroke@users.noreply.github.com> Date: Wed, 29 Nov 2023 21:54:22 -0500 Subject: [PATCH] add vacuum.yml workflow --- .github/workflows/vacuum.yml | 38 ++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/vacuum.yml diff --git a/.github/workflows/vacuum.yml b/.github/workflows/vacuum.yml new file mode 100644 index 0000000..cf5172c --- /dev/null +++ b/.github/workflows/vacuum.yml @@ -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 \ No newline at end of file