Compare commits
1 Commits
f3760b964c
...
b9b1ed623f
Author | SHA1 | Date | |
---|---|---|---|
b9b1ed623f
|
@@ -37,4 +37,4 @@ jobs:
|
|||||||
PULL_REQUEST_STALE_DAYS: 3
|
PULL_REQUEST_STALE_DAYS: 3
|
||||||
PULL_REQUEST_STALE_TAG: 21
|
PULL_REQUEST_STALE_TAG: 21
|
||||||
PULL_REQUEST_REQUIRED_TAG: 19
|
PULL_REQUEST_REQUIRED_TAG: 19
|
||||||
run: python ./workflow-scripts/process-repository.py
|
run: python ./workflow-scripts/scripts/process-repository.py
|
35
.gitea/workflows/process-pull-requests.yaml
Normal file
35
.gitea/workflows/process-pull-requests.yaml
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
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: 21
|
||||||
|
REQUIRED_TAG: 19
|
||||||
|
run: python ./scripts/scripts/process-pull-requests.py
|
Reference in New Issue
Block a user