You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fa55fe6
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: Module_6_Real_World/Module_6_Guide.md
+21-11Lines changed: 21 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,6 +100,8 @@ Rebase creates new commit identities for the replayed commits. Therefore the imp
100
100
101
101
Rebasing your own feature/PR branch is common in many teams. Rebasing a shared stable branch is a very different risk.
102
102
103
+
If a team workflow explicitly allows you to rewrite your own published feature branch, `git push --force-with-lease` is safer than raw `--force` because it refuses to overwrite unexpected remote work. It is still a history rewrite and should not be used casually.
104
+
103
105
### DO
104
106
Create divergence:
105
107
@@ -178,23 +180,30 @@ A workflow normally lives under:
178
180
.github/workflows/*.yml
179
181
```
180
182
181
-
At this stage you do not need to become a CI engineer. You need to be able to open a workflow and identify:
183
+
This course uses its own workflow at [`../.github/workflows/quality.yml`](../.github/workflows/quality.yml). It validates the repository on both Linux and Windows and also proves that the controlled CI demo still runs.
184
+
185
+
At this stage you do not need to become a CI engineer. You do need to identify:
182
186
183
-
- what triggers it (`on`)
187
+
- what triggers a workflow (`on`)
184
188
- its jobs (`jobs`)
189
+
- the runner used by each job
185
190
- the steps each job performs (`steps`)
186
-
- whether a failed check should stop a merge
191
+
- the command that determines whether a check passes
192
+
- why a failed required check should block a merge
187
193
188
194
A professional GitHub profile is useful too, but profile cosmetics are not evidence of engineering ability. Strong repositories, clear READMEs, useful commits, and real contributions matter more.
189
195
190
-
### DO
191
-
1. Open a workflow from one of your own or a reputable public repository.
192
-
2. Identify the trigger, jobs, and major steps.
193
-
3. Find a commit or pull request with automated checks and inspect what passed/failed.
194
-
4. If you want a profile README, create a public repo named exactly your username and add a truthful README. Do not claim technologies you have not actually used.
196
+
### DO — controlled lab first
197
+
198
+
1. Open this course's [quality workflow](../.github/workflows/quality.yml) and identify its trigger, job, matrix, and validation commands.
199
+
2. Complete the self-contained [`examples/actions`](../examples/actions/README.md) lab in your disposable `git-github-lab` repository.
200
+
3. Make the demo workflow pass.
201
+
4. Break the demo test deliberately, push it, and inspect the red check.
202
+
5. Repair it and verify the check returns to green.
203
+
6. Inspect one additional workflow from a reputable project only after you understand the controlled example.
195
204
196
205
### TRANSITION CONDITION
197
-
You can explain what CI/Actions does, locate a workflow, identify its trigger/jobs/steps, and explain why a green check is useful but does not prove software correctness by itself.
206
+
You can explain what CI/Actions does, read a basic workflow, produce both a passing and intentionally failing check in your own lab, and explain why green CI proves only the checks that actually ran.
198
207
199
208
---
200
209
@@ -203,7 +212,8 @@ You can explain what CI/Actions does, locate a workflow, identify its trigger/jo
203
212
-[ ] You can deliberately create and resolve a real merge conflict
204
213
-[ ] You understand divergence rather than treating conflicts as random errors
205
214
-[ ] You can rebase your own branch and explain the shared-history boundary
215
+
-[ ] You can explain when `--force-with-lease` is safer than `--force` and why both still rewrite history
206
216
-[ ] You can tag and release a version deliberately
207
-
-[ ] You can read a basic GitHub Actions workflow
217
+
-[ ] You can read and deliberately break/repair a basic GitHub Actions workflow
208
218
209
-
Then complete **Gate 6 — Real-World Git / Disaster Lab** in [`../ASSESSMENTS.md`](../ASSESSMENTS.md). Pass it before beginning the capstone.
219
+
Then complete **Gate 6 — Real-World Git / Disaster Lab** in [`../ASSESSMENTS.md`](../ASSESSMENTS.md). Pass it before beginning the capstone.
0 commit comments