-
Notifications
You must be signed in to change notification settings - Fork 459
39 lines (31 loc) · 894 Bytes
/
update.yml
File metadata and controls
39 lines (31 loc) · 894 Bytes
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
name: Update tracker
on:
workflow_dispatch:
jobs:
poll-and-update:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: read
steps:
- name: Checkout tracker branch
uses: actions/checkout@v4
with:
ref: tracker
token: ${{ secrets.GITHUB_TOKEN }}
- name: Configure Git
run: |
git config user.name "github-actions"
git config user.email "github-actions@github.com"
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install dependencies
run: |
pip install requests PyGithub
- name: Poll pull requests and update files
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
run: python process_prs.py