-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (28 loc) · 1.15 KB
/
grading.yml
File metadata and controls
31 lines (28 loc) · 1.15 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
name: Grading workflow
on:
push:
paths:
- grading_config.yml
workflow_dispatch:
jobs:
grade-learner:
if: github.event_name == 'push' # Apply additional filters as needed
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Grade exercise-check-installed-apps activity
id: events
uses: ./.github/actions/local-action
with:
exercise-token: ${{secrets.EXERCISE_PAT}}
- name: Grading results
uses: githubtraining/looking-glass-action@v1.0.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 "Install a GitHub App on this repository using the selected installation type. This document might help https://docs.github.com/en/github/customizing-your-github-workflow/purchasing-and-installing-apps-in-github-marketplace/installing-an-app-in-your-organization#installing-a-github-app-in-your-organization" #Help the user to troubleshoot the activity