Files
helm-charts/.gitea/workflows/process-issues.yaml
Alex Lebens 3a1a432005
Some checks failed
process-repository / process-repository (push) Failing after 18s
renovate / renovate (push) Successful in 43s
process-pull-requests / process-pull-requests (push) Failing after 13s
use single workflow script
2025-07-13 23:44:36 -05:00

41 lines
1.0 KiB
YAML

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: 21
ISSUE_EXCLUDE_TAG: 18
PULL_REQUEST_STALE_DAYS: 3
PULL_REQUEST_STALE_TAG: 21
PULL_REQUEST_REQUIRED_TAG: 19
run: python ./workflow-scripts/scripts/process-repository.py