Skip to content

Commit 2867678

Browse files
Test run fixes
1 parent d2881d5 commit 2867678

File tree

3 files changed

+16
-125
lines changed

3 files changed

+16
-125
lines changed

.github/steps/1-preparing.md

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Let's start up our development environment, use copilot to learn a bit about the
5555

5656
1. If this is your first time using GitHub Copilot, you will need to accept the usage terms to continue.
5757

58-
1. Enter the below prompt to ask Copilot to introduce you to the project.
58+
1. Enter the below prompt to ask Copilot to introduce you to the project. Use Copilot **Ask Mode** for this prompt.
5959

6060
> ![Static Badge](https://img.shields.io/badge/-Prompt-text?style=social&logo=github%20copilot)
6161
>
@@ -98,23 +98,7 @@ Great work! Now that we are familiar with the app and we know it works, let's as
9898
> ![Static Badge](https://img.shields.io/badge/-Prompt-text?style=social&logo=github%20copilot)
9999
>
100100
> ```prompt
101-
> Hey copilot, how can I create and publish a new Git branch?
102-
> ```
103-
104-
> **Tip:** This is a simple example, but Copilot is great at providing more tailored commands that might involve loops, pattern matching, file modification, and more! Don't be afraid to ask Copilot for a suggestion. Just remember it is a suggestion and you should always verify it first to be safe.
105-
106-
1. Copilot probably gave us a command like the following. Rather than manually modify it, let's respond back to tell Copilot to use a particular name.
107-
108-
```bash
109-
git checkout -b {new_branch_name}
110-
git push -u origin {new_branch_name}
111-
```
112-
113-
> ![Static Badge](https://img.shields.io/badge/-Prompt-text?style=social&logo=github%20copilot)
114-
>
115-
> ```prompt
116-
> Awesome! Thanks, Copilot! Let's use the
117-
> branch name "accelerate-with-copilot".
101+
> Hey copilot, how can I create and publish a new Git branch called "accelerate-with-copilot"?
118102
> ```
119103
120104
> **Tip:** If Copilot doesn't give you quite what you want, you can always continue explaining what you need. Copilot will remember the conversation history for follow-up responses.

.github/workflows/3-copilot-edits.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,16 @@ jobs:
6767
minimum-occurrences: 3
6868
case-sensitive: false
6969

70+
- name: Check for participant info in styles.css
71+
id: check-app-js
72+
continue-on-error: true
73+
uses: skills/action-keyphrase-checker@v1
74+
with:
75+
text-file: src/static/styles.css
76+
keyphrase: participant
77+
minimum-occurrences: 1
78+
case-sensitive: false
79+
7080
- name: Update comment - step results
7181
uses: GrantBirki/[email protected]
7282
with:
@@ -80,6 +90,8 @@ jobs:
8090
results_table:
8191
- description: "Check app.js for participant info"
8292
passed: ${{ steps.check-app-js.outcome == 'success' }}
93+
- description: "Check styles.css for participant info"
94+
passed: ${{ steps.check-styles-css.outcome == 'success' }}
8395
8496
- name: Fail job if not all checks passed
8597
if: contains(steps.*.outcome, 'failure')
@@ -90,7 +102,8 @@ jobs:
90102
needs: [find_exercise, check_step_work]
91103
runs-on: ubuntu-latest
92104
env:
93-
ISSUE_URL: ${{ needs.find_exercise.outputs.issue-url }}
105+
ISSUE_REPOSITORY: ${{ github.repository }}
106+
ISSUE_NUMBER: ${{ needs.find_exercise.outputs.issue-number }}
94107

95108
steps:
96109
- name: Checkout
@@ -130,6 +143,5 @@ jobs:
130143
run: |
131144
gh workflow disable "${{github.workflow}}"
132145
gh workflow enable "Step 4"
133-
gh workflow enable "Step 4b"
134146
env:
135147
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/4b-copilot-on-github.yml

Lines changed: 0 additions & 105 deletions
This file was deleted.

0 commit comments

Comments
 (0)