Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cunla/exercise-configure-codeql-language-matrix
GHAS course
https://github.com/cunla/exercise-configure-codeql-language-matrix
Last synced: 13 days ago
JSON representation
GHAS course
- Host: GitHub
- URL: https://github.com/cunla/exercise-configure-codeql-language-matrix
- Owner: cunla
- License: cc-by-4.0
- Created: 2023-11-05T19:16:17.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-05T19:20:22.000Z (about 1 year ago)
- Last Synced: 2024-05-02T00:02:11.294Z (7 months ago)
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Welcome to the Configure a CodeQL language matrix exercise!
This exercise checks your knowledge on configuring a CodeQL language matrix. It is automatically graded via a workflow once you have completed the instructions.
## About this exercise
A grading script exists under `.github/workflows/grading.yml`. You do not need to use this workflow for any purpose and **altering its contents will affect the repository's ability to assess your exercise and give feedback.**
:information_source: About the use of GitHub Actions in this exercise
> This exercise utilizes [GitHub Actions](https://docs.github.com/en/actions), which is free for public repositories and self-hosted runners, but may incur charges on private repositories. See [About billing for GitHub Actions](https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions) to learn more. The use of GitHub Actions also means that it may take the grading workflow a few seconds and sometimes minutes to run.
## Instructions
Please complete the instructions below:
1. Create your own copy of this repository by using the [Use this template](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template#creating-a-repository-from-a-template) button.
2. Add a `language` matrix in the `codeQL.yml` workflow file. Feel free to input any language in the matrix.
## Useful resources
Use these to help you!
Resources specific to this exercise:
- [Configuring code scanning](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning)
Resources for working with exercises and GitHub Actions in general:
- [Creating a repository from a template]( https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template)
- [Viewing workflow run history](https://docs.github.com/en/actions/managing-workflow-runs/viewing-workflow-run-history)
- [Running a workflow on GitHub](https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow#running-a-workflow-on-github)
- [About billing for GitHub Actions](https://docs.github.com/en/github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-actions)
- [GitHub Actions](https://docs.github.com/en/actions)## Seeing your result
Your exercise is graded automatically once you have completed the instructions. To see the result of your exercise, go to the **Actions** tab, and see the most recent run on the **Grading** workflow.
See [Viewing workflow run history](https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/viewing-workflow-run-history) if you need assistance.
## Troubleshooting
If you are stuck with a step in the exercise or the grading workflow does not automatically run after you complete the instructions, run the troubleshooter: in the **Actions** tab select the **Grading workflow**, click **Run workflow**, select the appropriate branch, and click the **Run workflow** button.
The troubleshooter will either display useful information to help you understand what you might have done wrong in your exercise or redirect you to the documentation relevant to your exercise to help you out.
See [Running a workflow on GitHub](https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow#running-a-workflow) if you need assistance.