{"id":21096390,"url":"https://github.com/githubtraining/exercise-scheduled-events","last_synced_at":"2025-05-16T15:34:41.524Z","repository":{"id":40704488,"uuid":"314239385","full_name":"githubtraining/exercise-scheduled-events","owner":"githubtraining","description":"A hands-on exercise using GitHub Actions. See README.md for instructions on how to get started.","archived":false,"fork":false,"pushed_at":"2023-03-06T00:10:57.000Z","size":618,"stargazers_count":1,"open_issues_count":11,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-05-22T10:55:15.796Z","etag":null,"topics":["exercise"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc-by-4.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/githubtraining.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-19T12:20:00.000Z","updated_at":"2021-11-18T20:01:54.000Z","dependencies_parsed_at":"2023-02-06T14:16:33.414Z","dependency_job_id":null,"html_url":"https://github.com/githubtraining/exercise-scheduled-events","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/githubtraining%2Fexercise-scheduled-events","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/githubtraining%2Fexercise-scheduled-events/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/githubtraining%2Fexercise-scheduled-events/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/githubtraining%2Fexercise-scheduled-events/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/githubtraining","download_url":"https://codeload.github.com/githubtraining/exercise-scheduled-events/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225437140,"owners_count":17474258,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["exercise"],"created_at":"2024-11-19T22:36:16.375Z","updated_at":"2024-11-19T22:36:16.892Z","avatar_url":"https://github.com/githubtraining.png","language":"JavaScript","readme":"# Welcome to the scheduled events exercise!\n\nThis exercise is an exercise to check your knowledge on scheduled events. It is automatically graded via a workflow once you have completed the instructions.\n\n**Quick links:**\n- [About this exercise](#about-this-exercise)\n- [Instructions](#instructions)\n- [Seeing your result](#seeing-your-result)\n- [Troubleshooting](#troubleshooting)\n- [Useful resources](#useful-resources)\n\n## About this exercise\n\n:warning: 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.**\n\n:warning: 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]* to learn more.\n\n:information_source: The use of GitHub actions also means that it may take the grading workflow a few seconds and sometimes minutes to run.\n\n## Instructions\n\nIn the `.github/workflows/stale-weekly.yml` you'll find a workflow that is intended to check for and close stale issues every Monday. The workflow is complete **except for** the `on:` key.\n\n\nPlease complete the instructions below:\n1. 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.\n2. On your repository, edit the `on:` key of the `stale-weekly.yml` workflow so that it contains a trigger to run every Monday.\n\n## Seeing your result\n\nYour exercise is graded automatically once you have completed the instructions. To see the result of your exercise, click the **Actions** tab, select the **Grading workflow**, and select the most recent workflow run. The status of the workflow indicates if you have passed or failed the exercise.\n\nIf the workflow failed, scroll down to the **Annotations** section to check what went wrong.\n\nSee *[Viewing workflow run history]* if you need assistance.\n\n## Troubleshooting\n\n If 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.\n\nSee *[Running a workflow on GitHub]* if you need assistance.\n\n## Useful resources\n\nUse these to help you!\n\nResources specific to this exercise:\n- [Events that trigger workflows - GitHub Docs]\n- [Cron examples - Crontab.guru]\n\nResources for working with exercises and GitHub Actions in general:\n- [Creating a repository from a template]\n- [Viewing workflow run history]\n- [Running a workflow on GitHub]\n- [About billing for GitHub Actions]\n- [GitHub Actions]\n\n\n\u003c!--\nLinks used throughout this README:\n--\u003e\n[Events that trigger workflows - GitHub Docs]: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#schedule\n[Cron examples - Crontab.guru]: https://crontab.guru/examples.html\n[Creating a repository from a template]:                        https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template\n[Viewing workflow run history]:                                 https://docs.github.com/en/actions/managing-workflow-runs/viewing-workflow-run-history\n[Running a workflow on GitHub]:                                 https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow#running-a-workflow-on-github\n[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\n[GitHub Actions]:                                               https://docs.github.com/en/actions\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithubtraining%2Fexercise-scheduled-events","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgithubtraining%2Fexercise-scheduled-events","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithubtraining%2Fexercise-scheduled-events/lists"}