Compare commits

...

7 Commits

Author SHA1 Message Date
72da712906 change env
Some checks failed
process-repository / process-repository (push) Failing after 14s
renovate / renovate (push) Successful in 47s
2025-07-15 23:05:37 -05:00
c7871ee4b6 change env
All checks were successful
renovate / renovate (push) Successful in 1m8s
2025-07-15 23:01:36 -05:00
3d6d0a1cfb change env
All checks were successful
renovate / renovate (push) Successful in 33s
2025-07-15 22:31:37 -05:00
b46e63218d enable dispatch
All checks were successful
renovate / renovate (push) Successful in 28s
2025-07-15 22:02:15 -05:00
d37c77f244 change paths
Some checks failed
renovate / renovate (push) Successful in 36s
process-repository / process-repository (push) Failing after 9s
2025-07-14 22:31:34 -05:00
3a1a432005 use single workflow script
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
2025-07-13 23:44:36 -05:00
77a3e4a926 use tag ids
All checks were successful
process-pull-requests / process-pull-requests (push) Successful in 11s
process-issues / process-issues (push) Successful in 10s
renovate / renovate (push) Successful in 32s
2025-07-11 21:47:57 -05:00
2 changed files with 13 additions and 43 deletions

View File

@@ -1,35 +0,0 @@
name: process-pull-requests
on:
schedule:
- cron: '@daily'
jobs:
process-pull-requests:
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: scripts
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Install dependencies
run: pip install requests
- name: Run Script
env:
INSTANCE_URL: ${{ vars.INSTANCE_URL }}
REPOSITORY: ${{ gitea.repository }}
TOKEN: ${{ secrets.BOT_TOKEN }}
STALE_DAYS: 3
STALE_TAG: 'stale'
REQUIRED_TAG: 'automerge'
run: python ./scripts/scripts/process-pull-requests.py

View File

@@ -1,11 +1,13 @@
name: process-issues name: process-repository
on: on:
schedule: schedule:
- cron: '@daily' - cron: '@daily'
workflow_dispatch:
jobs: jobs:
process-issues: process-repository:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout Python Script - name: Checkout Python Script
@@ -14,7 +16,7 @@ jobs:
repository: alexlebens/workflow-scripts repository: alexlebens/workflow-scripts
ref: main ref: main
token: ${{ secrets.BOT_TOKEN }} token: ${{ secrets.BOT_TOKEN }}
path: scripts path: workflow-scripts
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5
@@ -22,14 +24,17 @@ jobs:
python-version: '3.13' python-version: '3.13'
- name: Install dependencies - name: Install dependencies
run: pip install requests run: pip install requests immutabledict
- name: Run Script - name: Run Script
env: env:
INSTANCE_URL: ${{ vars.INSTANCE_URL }} INSTANCE_URL: ${{ vars.INSTANCE_URL }}
REPOSITORY: ${{ gitea.repository }} REPOSITORY: ${{ gitea.repository }}
TOKEN: ${{ secrets.BOT_TOKEN }} TOKEN: ${{ secrets.BOT_TOKEN }}
STALE_DAYS: 3 LOG_LEVEL: DEBUG
STALE_TAG: 'stale' ISSUE_STALE_DAYS: 3
EXCLUDE_TAG: 'renovate' ISSUE_STALE_TAG: stale
run: python ./scripts/scripts/process-issues.py ISSUE_EXCLUDE_TAG: Renovate
PULL_REQUEST_STALE_DAYS: 3
PULL_REQUEST_STALE_TAG: stale
run: python ./workflow-scripts/process-repository.py