From 892fbd504964d4da63e31b38eac317aaf011c3de Mon Sep 17 00:00:00 2001 From: Shinsuke Higashiyama aka Cinzeng Zia <94058150+sinsukehlab@users.noreply.github.com> Date: Tue, 26 Mar 2024 00:38:05 +0900 Subject: [PATCH 1/7] Add a devcontainers update to dependabot.yml (#126) --- .github/dependabot.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 8ac6b8c4..fff844d7 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,3 +4,8 @@ updates: directory: "/" schedule: interval: "monthly" + + - package-ecosystem: "devcontainers" + directory: "/" + schedule: + interval: "monthly" From eb258a9d39e70d610754cf1608f361fb87994910 Mon Sep 17 00:00:00 2001 From: Shinsuke Higashiyama aka Cinzeng Zia <94058150+sinsukehlab@users.noreply.github.com> Date: Sat, 13 Apr 2024 02:38:20 +0900 Subject: [PATCH 2/7] Fix regexp escaping (#132) Escape `.` to `\\.` --- .github/workflows/1-copilot-extension.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/1-copilot-extension.yml b/.github/workflows/1-copilot-extension.yml index 1cd607af..4408fa71 100644 --- a/.github/workflows/1-copilot-extension.yml +++ b/.github/workflows/1-copilot-extension.yml @@ -58,7 +58,7 @@ jobs: uses: skills/action-check-file@v1 with: file: ".devcontainer/devcontainer.json" - search: "GitHub.copilot" + search: "GitHub\\.copilot" # In README.md, switch step 1 for step 2. - name: Update to step 2 From b4773f88168f7169d3a31ce008d587c59c12cf9e Mon Sep 17 00:00:00 2001 From: Shinsuke Higashiyama aka Cinzeng Zia <94058150+sinsukehlab@users.noreply.github.com> Date: Wed, 1 May 2024 05:29:51 +0900 Subject: [PATCH 3/7] Change trigger of Step 0 workflow (#137) `create` -> `push` to `main` --- .github/workflows/0-welcome.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/0-welcome.yml b/.github/workflows/0-welcome.yml index 6448a686..0802c3c5 100644 --- a/.github/workflows/0-welcome.yml +++ b/.github/workflows/0-welcome.yml @@ -6,8 +6,10 @@ name: Step 0, Welcome # This will run every time we create push a commit to `main`. # Reference: https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows on: - create: workflow_dispatch: + push: + branches: + - main # Reference: https://docs.github.com/en/actions/security-guides/automatic-token-authentication permissions: From c469494e3f03bdea36e77cad13cd08bcea1b8d75 Mon Sep 17 00:00:00 2001 From: "Christopher W. Blake" Date: Wed, 18 Dec 2024 13:16:26 -0600 Subject: [PATCH 4/7] Update for Copilot Free (#247) * docs: Clarify prerequisites * docs: Update reference links to newer docs --- .github/steps/X-finish.md | 4 ++-- README.md | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/steps/X-finish.md b/.github/steps/X-finish.md index 2108ad48..af83bed3 100644 --- a/.github/steps/X-finish.md +++ b/.github/steps/X-finish.md @@ -18,8 +18,8 @@ Here's a recap of all the tasks you completed: ### Additional learning and resources -- [Copilot for Individuals](https://docs.github.com/en/copilot/overview-of-github-copilot/about-github-copilot-for-individuals) -- [Copilot for Business](https://docs.github.com/en/copilot/overview-of-github-copilot/about-github-copilot-for-business) +- [What is GitHub Copilot](https://docs.github.com/en/copilot/about-github-copilot/what-is-github-copilot) +- [About enterprise accounts for Copilot Business](https://docs.github.com/en/enterprise-cloud@latest/admin/copilot-business-only/about-enterprise-accounts-for-copilot-business) - [Getting started with Copilot](https://docs.github.com/en/copilot/getting-started-with-github-copilot/getting-started-with-github-copilot-in-visual-studio-code) - [Configure Copilot settings](https://docs.github.com/en/copilot/configuring-github-copilot/configuring-github-copilot-settings-on-githubcom) diff --git a/README.md b/README.md index 8cddafa1..b8ac60c0 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,9 @@ GitHub Copilot can help you code by offering autocomplete-style suggestions. You - **Who this is for**: Developers, DevOps Engineers, Software development managers, Testers. - **What you'll learn**: How to install Copilot into a Codespace, accept suggestions from code, accept suggestions from comments. - **What you'll build**: Javascript files that will have code generated by Copilot AI for code and comment suggestions. -- **Prerequisites**: To use GitHub Copilot you must have an active GitHub Copilot subscription. Sign up for 30 days free [Copilot](https://github.com/settings/copilot). +- **Prerequisites**: + - [GitHub account](https://github.com/login) - With available Codespaces minutes. + - [GitHub Copilot](https://github.com/github-copilot/signup) - For learning, the **Copilot Free** option with usage limits should be sufficient. - **Timing**: This course can be completed in under an hour. ### How to start this course From 28d9dd5a5e2ffd67fb2d73da28657aa855f0e7a7 Mon Sep 17 00:00:00 2001 From: Ari LiVigni Date: Wed, 19 Feb 2025 10:44:27 -0500 Subject: [PATCH 5/7] remove dependabot file since it is not needed and creates failed actions on missing files (#362) --- .github/dependabot.yml | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index fff844d7..00000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,11 +0,0 @@ -version: 2 -updates: - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "monthly" - - - package-ecosystem: "devcontainers" - directory: "/" - schedule: - interval: "monthly" From 95857891b92e3ce08e2ce81017d6bccb8ee3b623 Mon Sep 17 00:00:00 2001 From: "Christopher W. Blake" Date: Fri, 14 Mar 2025 09:53:43 -0500 Subject: [PATCH 6/7] chore: Add deprecation notice in header. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index b8ac60c0..0c5aa9f4 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@
+![Deprecation Badge](https://img.shields.io/badge/Skills-Deprecated-333?logo=github&labelColor=454c54&color=bf8700) + +This course has been deprecated. Please visit the [Getting Started with GitHub Copilot](https://github.com/skills/getting-started-with-github-copilot) exercise for the newest learning content. + - -# Code with GitHub Copilot - -_GitHub Copilot can help you code by offering autocomplete-style suggestions right in VS Code and Codespaces._ - -
- - - -## Welcome - -GitHub Copilot can help you code by offering autocomplete-style suggestions. You can learn how GitHub Copilot works, and what to consider while using GitHub Copilot. GitHub Copilot analyzes the context in the file you are editing, as well as related files, and offers suggestions from within your text editor. GitHub Copilot is powered by OpenAI Codex, a new AI system created by OpenAI. - -- **Who this is for**: Developers, DevOps Engineers, Software development managers, Testers. -- **What you'll learn**: How to install Copilot into a Codespace, accept suggestions from code, accept suggestions from comments. -- **What you'll build**: Javascript files that will have code generated by Copilot AI for code and comment suggestions. -- **Prerequisites**: - - [GitHub account](https://github.com/login) - With available Codespaces minutes. - - [GitHub Copilot](https://github.com/github-copilot/signup) - For learning, the **Copilot Free** option with usage limits should be sufficient. -- **Timing**: This course can be completed in under an hour. - -### How to start this course - - - -[![start-course](https://user-images.githubusercontent.com/1221423/235727646-4a590299-ffe5-480d-8cd5-8194ea184546.svg)](https://github.com/new?template_owner=skills&template_name=copilot-codespaces-vscode&owner=%40me&name=skills-copilot-codespaces-vscode&description=My+clone+repository&visibility=public) - -1. Right-click **Start course** and open the link in a new tab. -2. In the new tab, most of the prompts will automatically fill in for you. - - For owner, choose your personal account or an organization to host the repository. - - We recommend creating a public repository, as private repositories will [use Actions minutes](https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions). - - Scroll down and click the **Create repository** button at the bottom of the form. -3. After your new repository is created, wait about 20 seconds, then refresh the page. Follow the step-by-step instructions in the new repository's README. - -