-
Notifications
You must be signed in to change notification settings - Fork 147
52 lines (42 loc) 路 1.08 KB
/
Copy pathupdate_requests.yml
File metadata and controls
52 lines (42 loc) 路 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Update Requests
run-name: requests @ ${{ github.sha }}
concurrency:
group: delta
permissions:
contents: write
on:
workflow_dispatch:
env:
PYTHONUNBUFFERED: 1
jobs:
update:
name: Update Requests
runs-on: ubuntu-24.04
defaults:
run:
working-directory: resources/scripts
steps:
- name: Checkout
uses: actions/checkout@v6
with:
token: ${{ secrets.PA_TOKEN }}
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: '3.13'
cache: pip
- name: Install Python deps
run: |
pip install -r requirements.txt
- name: Process emails
run: |
python process_emails.py -p -d --unread \
--user '${{ secrets.EMAIL_ADDRESS }}' \
--pass '${{ secrets.EMAIL_PASSWORD }}' \
--remote '${{ secrets.EMAIL_FOLDER }}'
python process_requests.py -qu
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v7
with:
commit_message: Update requests.yml
file_pattern: contribs/requests.yml