use single workflow script
Some checks failed
renovate / renovate (push) Has been cancelled

This commit is contained in:
2025-07-13 23:44:21 -05:00
parent cc3032f8b1
commit ae09521317
2 changed files with 15 additions and 45 deletions

View File

@@ -0,0 +1,40 @@
name: process-repository
on:
schedule:
- cron: "@daily"
jobs:
process-repository:
runs-on: ubuntu-latest
steps:
- name: Checkout Python Script
uses: actions/checkout@v4
with:
repository: alexlebens/workflow-scripts
ref: main
token: ${{ secrets.BOT_TOKEN }}
path: workflow-scripts
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install dependencies
run: pip install requests immutabledict
- name: Run Script
env:
INSTANCE_URL: ${{ vars.INSTANCE_URL }}
OWNER: ${{ gitea.owner }}
REPOSITORY: ${{ gitea.repository }}
TOKEN: ${{ secrets.BOT_TOKEN }}
LOG_LEVEL: DEBUG
ISSUE_STALE_DAYS: 3
ISSUE_STALE_TAG: 16
ISSUE_EXCLUDE_TAG: 20
PULL_REQUEST_STALE_DAYS: 3
PULL_REQUEST_STALE_TAG: 16
PULL_REQUEST_REQUIRED_TAG: 15
run: python ./workflow-scripts/scripts/process-repository.py