Compare commits
1 Commits
renovate/g
...
2dc12eff85
Author | SHA1 | Date | |
---|---|---|---|
2dc12eff85
|
40
.gitea/workflows/process-repository.yaml
Normal file
40
.gitea/workflows/process-repository.yaml
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
name: process-repository
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '@daily'
|
||||||
|
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
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 }}
|
||||||
|
REPOSITORY: ${{ gitea.repository }}
|
||||||
|
TOKEN: ${{ secrets.BOT_TOKEN }}
|
||||||
|
LOG_LEVEL: DEBUG
|
||||||
|
ISSUE_STALE_DAYS: 3
|
||||||
|
ISSUE_STALE_TAG: stale
|
||||||
|
ISSUE_EXCLUDE_TAG: Renovate
|
||||||
|
PULL_REQUEST_STALE_DAYS: 3
|
||||||
|
PULL_REQUEST_STALE_TAG: stale
|
||||||
|
run: python ./workflow-scripts/process-repository.py
|
Reference in New Issue
Block a user