-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (26 loc) · 800 Bytes
/
grading.yml
File metadata and controls
29 lines (26 loc) · 800 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
name: Grading workflow
on:
push:
paths:
- ".gitignore"
workflow_dispatch:
jobs:
grade-learner:
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Grade gitignore activity
id: events
uses: ./.github/actions/gitignore-parser-action
- name: Grading results
uses: githubtraining/looking-glass-action@v0.2.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
feedback: ${{ steps.events.outputs.reports }}
troubleshoot-activity:
if: github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
steps:
- name: troubleshooting steps
run: echo "If you're stuck, this documentation may be helpful; https://git-scm.com/docs/gitignore"