forked from jwentong/wireless-coding-equalization-exp
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (32 loc) · 955 Bytes
/
homework-tracker.yml
File metadata and controls
38 lines (32 loc) · 955 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
name: 作业情况实时跟踪
on:
pull_request_target:
types: [opened, synchronize, reopened, closed, ready_for_review]
workflow_run:
workflows: [自动评分系统]
types: [completed]
workflow_dispatch:
schedule:
- cron: '*/30 * * * *'
permissions:
contents: read
pull-requests: read
issues: write
jobs:
update-tracker:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: 检出教师仓库代码
uses: actions/checkout@v4.2.2
- name: 设置Python环境
uses: actions/setup-python@v5.6.0
with:
python-version: '3.11'
- name: 生成作业跟踪表
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
TRACKING_ISSUE_NUMBER: ${{ vars.TRACKING_ISSUE_NUMBER }}
HOMEWORK_NAME: 无线通信技术实验 02:信道编码与信道均衡
run: python grading/update_homework_tracking.py