generated from githubtraining/exercise-configure-codeql-language-matrix
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (26 loc) · 1.02 KB
/
grading.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
name: Grading workflow
on:
push:
paths:
- ".github/workflows/codeQL.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 configure-codeql-language-matrix activity
id: events
uses: ./.github/actions/local-action
- name: Grading results
uses: githubtraining/[email protected]
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 "See the following doc for help with configuring a CodeQL language matrix:https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning" #Help the user to troubleshoot the activity