-
Notifications
You must be signed in to change notification settings - Fork 103
52 lines (42 loc) · 1.17 KB
/
eval.yml
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: Check README GitHub Links
on:
workflow_dispatch:
jobs:
check-readmes:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install requests
- name: Run Check GitHub READMEs Script
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
run: |
python scripts/eval.py
- name: Upload no_links.txt
uses: actions/upload-artifact@v3
with:
name: no_links
path: no_links.txt
- name: Upload no_actions.txt
uses: actions/upload-artifact@v3
with:
name: no_actions
path: no_actions.txt
- name: Upload successful.txt
uses: actions/upload-artifact@v3
with:
name: successful
path: successful.txt
- name: Upload unsuccessful.txt
uses: actions/upload-artifact@v3
with:
name: unsuccessful
path: unsuccessful.txt