Initial commit #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |